Commit 3a1365cd authored by gaodapeng's avatar gaodapeng

加了几个注释

parent 5cdd42ce
......@@ -22,6 +22,9 @@ public class ActivityLifeCycleCallback implements Application.ActivityLifecycleC
inflaterFactory = new HashMap<>();
}
/**
* 调用在oncreate开发者写的代码之前
*/
@Override
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
//先更改status bar
......
......@@ -45,6 +45,9 @@ public class SkinLayoutInflaterFactory implements LayoutInflater.Factory2, Obser
skinAttribute = new SkinAttribute();
}
/**
* 调用时机在setContentView时。
*/
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Nullable
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment