Activity 统一入口
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
package com.gh.gamecenter;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.v4.util.ArrayMap;
|
||||
import android.support.v7.widget.LinearLayoutManager;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
@ -60,6 +62,12 @@ public class CleanApkActivity extends BaseActivity implements CleanApkAdapter.On
|
||||
|
||||
private CleanApkAdapter mAdapter;
|
||||
|
||||
@NonNull
|
||||
public static Intent getIntent(Context context) {
|
||||
Intent intent = new Intent(context, CleanApkActivity.class);
|
||||
return intent;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getLayoutId() {
|
||||
return R.layout.activity_clean_apk;
|
||||
|
||||
Reference in New Issue
Block a user