Пример #1
0
  @SuppressLint("JavascriptInterface")
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    mActivity = this;

    showWebView();
  }
Пример #2
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    INSTANCE = this;
    ButterKnife.bind(this);
    setDefaultFragment();

    bottomBar.setOnItemChangedListener(
        index -> {
          LogUtils.d(TAG, "onItemChanged:" + index);
          jump(index);
        });
  }
Пример #3
0
 @Override
 protected void onNewIntent(Intent intent) {
   super.onNewIntent(intent);
   flag = intent.getIntExtra(getString(R.string.intent_value), 0);
   jump(flag);
 }
Пример #4
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   ButterKnife.bind(this);
   init();
 }