Commit 3a1365cd authored by gaodapeng's avatar gaodapeng

加了几个注释

parent 5cdd42ce
...@@ -22,6 +22,9 @@ public class ActivityLifeCycleCallback implements Application.ActivityLifecycleC ...@@ -22,6 +22,9 @@ public class ActivityLifeCycleCallback implements Application.ActivityLifecycleC
inflaterFactory = new HashMap<>(); inflaterFactory = new HashMap<>();
} }
/**
* 调用在oncreate开发者写的代码之前
*/
@Override @Override
public void onActivityCreated(Activity activity, Bundle savedInstanceState) { public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
//先更改status bar //先更改status bar
......
...@@ -45,6 +45,9 @@ public class SkinLayoutInflaterFactory implements LayoutInflater.Factory2, Obser ...@@ -45,6 +45,9 @@ public class SkinLayoutInflaterFactory implements LayoutInflater.Factory2, Obser
skinAttribute = new SkinAttribute(); skinAttribute = new SkinAttribute();
} }
/**
* 调用时机在setContentView时。
*/
@RequiresApi(api = Build.VERSION_CODES.KITKAT) @RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Nullable @Nullable
@Override @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