使用这段代码为Uri赋值
Uri u =Uri.parse("content://com.ljq.provider.personprovider/person");
在Activity里成功了,但是在单元测试里uri为空。这是为什么,有什么办法能成功赋值。
人生最曼妙的风景,竟是内心的淡定与从容!
There is no problem in terms of assignment. There must be other reasons why it is empty. Review your code carefully and log and analyze before and after modifying the uri
There is no problem in terms of assignment. There must be other reasons why it is empty. Review your code carefully and log and analyze before and after modifying the uri