We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
求解,谢谢
The text was updated successfully, but these errors were encountered:
刚接触到这个架构,还在专研中
Sorry, something went wrong.
mLogicList是当前进程的所有逻辑列表,mLogicClassMap是所有进程的逻辑列表map。 registerApplicationLogic需要在initializeLogic方法里调用,类似下面(该代码在com.spinytech.maindemo.MyApplication)
com.spinytech.maindemo.MyApplication
registerApplicationLogic("com.spinytech.maindemo",999, MainApplicationLogic.class); registerApplicationLogic("com.spinytech.maindemo",998, WebApplicationLogic.class); registerApplicationLogic("com.spinytech.maindemo:music",999, MusicApplicationLogic.class); registerApplicationLogic("com.spinytech.maindemo:pic",999, PicApplicationLogic.class);
注册之后,MaApplication会调用dispatchLogic,从mLogicClassMap,根据当前的PID将逻辑列表查找出来,赋给mLogicList
MaApplication
dispatchLogic
好的,了解。谢谢大神(●ˇ∀ˇ●)
No branches or pull requests
求解,谢谢
The text was updated successfully, but these errors were encountered: