You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
569 B
23 lines
569 B
4 years ago
|
package com.community.pocket.ui;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.os.Bundle;
|
||
|
|
||
|
import androidx.annotation.Nullable;
|
||
|
import androidx.appcompat.app.AppCompatActivity;
|
||
|
|
||
|
import org.xutils.x;
|
||
|
|
||
|
public abstract class BaseActivity extends AppCompatActivity {
|
||
|
@Override
|
||
|
protected void attachBaseContext(Context newBase) {
|
||
|
super.attachBaseContext(newBase);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||
|
super.onCreate(savedInstanceState);
|
||
|
x.view().inject(this);//加载布局,控件
|
||
|
}
|
||
|
}
|