29 lines
887 B
Java
29 lines
887 B
Java
package com.gh.gamecenter;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import android.support.annotation.NonNull;
|
|
|
|
import com.gh.gamecenter.login.UserViewModel;
|
|
import com.halo.assistant.fragment.user.UserInfoEditFragment;
|
|
|
|
/**
|
|
* Created by khy on 30/06/17.
|
|
*/
|
|
@Deprecated
|
|
public class UserInfoEditActivity extends NormalActivity {
|
|
|
|
@NonNull
|
|
public static Intent getIntent(Context context, String editType) {
|
|
Bundle args = new Bundle();
|
|
args.putString(UserViewModel.KEY_EDITTYPE, editType);
|
|
// return new IntentFactory.Builder(context)
|
|
// .setArgs(args)
|
|
// .setActivity(UserInfoEditActivity.class)
|
|
// .setFragment(UserInfoEditFragment.class).build();
|
|
return getTargetIntent(context, UserInfoEditActivity.class, UserInfoEditFragment.class, args);
|
|
}
|
|
|
|
}
|