Java Code Examples for org.kymjs.kjframe.utils.KJLoger#state()

The following examples show how to use org.kymjs.kjframe.utils.KJLoger#state() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 5 votes vote down vote up
/***************************************************************************
 * print Activity callback methods
 ***************************************************************************/
@Override
protected void onCreate(Bundle savedInstanceState) {
    aty = this;
    KJActivityStack.create().addActivity(this);
    KJLoger.state(this.getClass().getName(), "---------onCreat ");
    super.onCreate(savedInstanceState);

    setRootView(); // 必须放在annotate之前调用
    AnnotateUtil.initBindView(this);
    initializer();
    registerBroadcast();
}
 
Example 2
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 5 votes vote down vote up
@Override
protected void onDestroy() {
    unRegisterBroadcast();
    activityState = DESTROY;
    KJLoger.state(this.getClass().getName(), "---------onDestroy ");
    super.onDestroy();
    KJActivityStack.create().finishActivity(this);
    currentKJFragment = null;
    currentSupportFragment = null;
    callback = null;
    threadHandle = null;
    aty = null;
}
 
Example 3
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 5 votes vote down vote up
/***************************************************************************
 * print Activity callback methods
 ***************************************************************************/
@Override
protected void onCreate(Bundle savedInstanceState) {
    aty = this;
    KJActivityStack.create().addActivity(this);
    KJLoger.state(this.getClass().getName(), "---------onCreat ");

    setRootView(); // 必须放在annotate之前调用
    AnnotateUtil.initBindView(this);
    initializer();
    registerBroadcast();
    super.onCreate(savedInstanceState);
}
 
Example 4
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 5 votes vote down vote up
@Override
protected void onDestroy() {
    unRegisterBroadcast();
    activityState = DESTROY;
    KJLoger.state(this.getClass().getName(), "---------onDestroy ");
    super.onDestroy();
    KJActivityStack.create().finishActivity(this);
    currentKJFragment = null;
    currentSupportFragment = null;
    callback = null;
    threadHandle = null;
    aty = null;
}
 
Example 5
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onStart() {
    super.onStart();
    KJLoger.state(this.getClass().getName(), "---------onStart ");
}
 
Example 6
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    activityState = RESUME;
    KJLoger.state(this.getClass().getName(), "---------onResume ");
}
 
Example 7
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onPause() {
    super.onPause();
    activityState = PAUSE;
    KJLoger.state(this.getClass().getName(), "---------onPause ");
}
 
Example 8
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onStop() {
    super.onStop();
    activityState = STOP;
    KJLoger.state(this.getClass().getName(), "---------onStop ");
}
 
Example 9
Source File: SupportActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onRestart() {
    super.onRestart();
    KJLoger.state(this.getClass().getName(), "---------onRestart ");
}
 
Example 10
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onStart() {
    super.onStart();
    KJLoger.state(this.getClass().getName(), "---------onStart ");
}
 
Example 11
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    activityState = RESUME;
    KJLoger.state(this.getClass().getName(), "---------onResume ");
}
 
Example 12
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onPause() {
    super.onPause();
    activityState = PAUSE;
    KJLoger.state(this.getClass().getName(), "---------onPause ");
}
 
Example 13
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onStop() {
    super.onStop();
    activityState = STOP;
    KJLoger.state(this.getClass().getName(), "---------onStop ");
}
 
Example 14
Source File: KJActivity.java    From KJFrameForAndroid with Apache License 2.0 4 votes vote down vote up
@Override
protected void onRestart() {
    super.onRestart();
    KJLoger.state(this.getClass().getName(), "---------onRestart ");
}