Exemplo n.º 1
0
  @SuppressLint("JavascriptInterface")
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    mActivity = this;

    showWebView();
  }
Exemplo n.º 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);
        });
  }
Exemplo n.º 3
0
 @Override
 protected void onNewIntent(Intent intent) {
   super.onNewIntent(intent);
   flag = intent.getIntExtra(getString(R.string.intent_value), 0);
   jump(flag);
 }
Exemplo n.º 4
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   ButterKnife.bind(this);
   init();
 }