@Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); if (mXWalkView != null) { mXWalkView.saveState(outState); } }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow() .setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); setContentView(R.layout.activity_xwalk_view_with_window_secure); mXWalkView = (XWalkView) findViewById(R.id.xwalk_view); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_xwalk_view_with_theme_color); mXWalkView = (XWalkView) findViewById(R.id.xwalk_view); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_xwalk_view_with_long_click); }
@Override protected void onRestoreInstanceState(Bundle savedInstanceState) { super.onRestoreInstanceState(savedInstanceState); mStoredBundle = savedInstanceState; }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_xwalk_view_with_on_received_httpauth_request); }