public Intent setClass(Context packageContext, Class<?> cls) { mComponent = new ComponentName(packageContext, cls); return this;}
public Intent setComponent(ComponentName component) { mComponent = component; return this; }
public Intent setClassName(String packageName, String className) { mComponent = new ComponentName(packageName, className); return this; }
same!!
Intent setClass and setComponent
最新推荐文章于 2023-12-31 22:34:46 发布