InterfaceLoader icon indicating copy to clipboard operation
InterfaceLoader copied to clipboard

下载demo测试时,不能传递自定义类,接收失败。提示找不到类,修改建议

Open BloodBamboo opened this issue 5 years ago • 0 comments

image 新建了一个自定义类型,实现了Parcelable接口

public interface ILoaderDemo {

int plus(int a, int b);

int minus(user user);

int multi(int a, int b);

} 接口修改成自定义类型后LoaderDemoService就会报找不到 user classnotfound异常。

image 本人测试把InterfaceService里的获取参数方法里ClassLoader获取换成传递进来implement后运行就正常了。

BloodBamboo avatar Dec 03 '20 06:12 BloodBamboo