DDComponentForAndroid
DDComponentForAndroid copied to clipboard
android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
如果context 不是 Activity类型,需要添加FLAG_ACTIVITY_NEW_TASK,否则会无法跳转
下个版本会开放一个decorator提供对intent的装饰
sorry,会在JIMU项目中提供,DDAndroidComponent这边不再提交PR