put values
This commit is contained in:
parent
9298f22b5d
commit
86c332a326
|
@ -115,6 +115,7 @@ public class ProfileActivity extends BaseActivity {
|
||||||
private String account_id;
|
private String account_id;
|
||||||
private String mention_str;
|
private String mention_str;
|
||||||
private WellKnownNodeinfo.NodeInfo nodeInfo;
|
private WellKnownNodeinfo.NodeInfo nodeInfo;
|
||||||
|
private boolean checkRemotely;
|
||||||
|
|
||||||
private final BroadcastReceiver broadcast_data = new BroadcastReceiver() {
|
private final BroadcastReceiver broadcast_data = new BroadcastReceiver() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -141,10 +142,12 @@ public class ProfileActivity extends BaseActivity {
|
||||||
ActionBar actionBar = getSupportActionBar();
|
ActionBar actionBar = getSupportActionBar();
|
||||||
Bundle b = getIntent().getExtras();
|
Bundle b = getIntent().getExtras();
|
||||||
binding.accountFollow.setEnabled(false);
|
binding.accountFollow.setEnabled(false);
|
||||||
|
checkRemotely = false;
|
||||||
if (b != null) {
|
if (b != null) {
|
||||||
account = (Account) b.getSerializable(Helper.ARG_ACCOUNT);
|
account = (Account) b.getSerializable(Helper.ARG_ACCOUNT);
|
||||||
account_id = b.getString(Helper.ARG_USER_ID, null);
|
account_id = b.getString(Helper.ARG_USER_ID, null);
|
||||||
mention_str = b.getString(Helper.ARG_MENTION, null);
|
mention_str = b.getString(Helper.ARG_MENTION, null);
|
||||||
|
checkRemotely = b.getBoolean(Helper.ARG_CHECK_REMOTELY, false);
|
||||||
}
|
}
|
||||||
postponeEnterTransition();
|
postponeEnterTransition();
|
||||||
|
|
||||||
|
|
|
@ -272,6 +272,7 @@ public class Helper {
|
||||||
public static final String ARG_SHOW_PINNED = "ARG_SHOW_PINNED";
|
public static final String ARG_SHOW_PINNED = "ARG_SHOW_PINNED";
|
||||||
public static final String ARG_SHOW_MEDIA_ONY = "ARG_SHOW_MEDIA_ONY";
|
public static final String ARG_SHOW_MEDIA_ONY = "ARG_SHOW_MEDIA_ONY";
|
||||||
public static final String ARG_MENTION = "ARG_MENTION";
|
public static final String ARG_MENTION = "ARG_MENTION";
|
||||||
|
public static final String ARG_CHECK_REMOTELY = "ARG_CHECK_REMOTELY";
|
||||||
public static final String ARG_USER_ID = "ARG_USER_ID";
|
public static final String ARG_USER_ID = "ARG_USER_ID";
|
||||||
public static final String ARG_MEDIA_ARRAY = "ARG_MEDIA_ARRAY";
|
public static final String ARG_MEDIA_ARRAY = "ARG_MEDIA_ARRAY";
|
||||||
public static final String ARG_VISIBILITY = "ARG_VISIBILITY";
|
public static final String ARG_VISIBILITY = "ARG_VISIBILITY";
|
||||||
|
|
Loading…
Reference in New Issue