@Override
 public void onCreate() {
   super.onCreate();
   // 是否开启debug模式--默认开启状态
   BmobChat.DEBUG_MODE = true;
   mInstance = this;
   String appId = "caa583deca0a8a5679df9ee45a794c06"; // 蒲公英注册或上传应用获取的AppId
   PgyCrashManager.register(this, appId);
   init();
 }
예제 #2
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_data_detail);
   ViewUtils.inject(this);
   initData();
   initView();
   getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
   getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
   PgyCrashManager.register(this);
 }