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.view.View;
|
||||
|
||||
import com.gh.base.BaseActivity;
|
||||
@ -14,6 +16,12 @@ import butterknife.OnClick;
|
||||
*/
|
||||
public class SuggestSelectActivity extends BaseActivity {
|
||||
|
||||
@NonNull
|
||||
public static Intent getIntent(Context context) {
|
||||
Intent intent = new Intent(context, SuggestionActivity.class);
|
||||
return intent;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getLayoutId() {
|
||||
return R.layout.activity_suggest_select;
|
||||
|
||||
Reference in New Issue
Block a user