11111
This commit is contained in:
@@ -529,10 +529,10 @@ public class EntryActivity extends AppCompatActivity {
|
||||
|
||||
private void updateUI() {
|
||||
boolean enableButtons = AccessToken.getCurrentAccessToken() != null;
|
||||
ToastUtil.show(enableButtons+"");
|
||||
ToastUtil.show(enableButtons + "");
|
||||
Profile profile = Profile.getCurrentProfile();
|
||||
if (enableButtons && profile != null) {
|
||||
ToastUtil.show(profile.getId()+"");
|
||||
ToastUtil.show(profile.getId() + "");
|
||||
LoginData data = new LoginData();
|
||||
// data.setAvatar(profile.getProfilePictureUri(150, 150).toString());
|
||||
data.setNickName(profile.getName());
|
||||
@@ -740,6 +740,7 @@ public class EntryActivity extends AppCompatActivity {
|
||||
if (obj.containsKey("home_zdy_pop")) {
|
||||
NoviceInstructorManager.get(activity).setHomeZdyPop(obj.getString("home_zdy_pop"));
|
||||
}
|
||||
|
||||
} else {
|
||||
MainActivity.forward(EntryActivity.this, false);
|
||||
}
|
||||
@@ -771,7 +772,7 @@ public class EntryActivity extends AppCompatActivity {
|
||||
return;
|
||||
}
|
||||
LiveAudienceActivity.forward(EntryActivity.this, liveBean, liveType, liveTypeVal, "", 0, liveSdk);
|
||||
|
||||
NoviceInstructorManager.get(activity).setFrist(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ public class LoginActivity extends AbsActivity {
|
||||
return;
|
||||
}
|
||||
LiveAudienceActivity.forward(LoginActivity.this, liveBean, liveType, liveTypeVal, "", 0, liveSdk);
|
||||
|
||||
NoviceInstructorManager.get(activity).setFrist(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -549,7 +549,7 @@ public class RegisterActivity extends AbsActivity {
|
||||
return;
|
||||
}
|
||||
LiveAudienceActivity.forward(RegisterActivity.this, liveBean, liveType, liveTypeVal, "", 0, liveSdk);
|
||||
|
||||
NoviceInstructorManager.get(activity).setFrist(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ public class OneLoginDialog extends AbsDialogFragment {
|
||||
return;
|
||||
}
|
||||
LiveAudienceActivity.forward(mContext, liveBean, liveType, liveTypeVal, "", 0, liveSdk);
|
||||
|
||||
NoviceInstructorManager.get(mContext).setFrist(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -185,9 +185,9 @@ public class ConversationIMListManager {
|
||||
*/
|
||||
@Override
|
||||
public boolean onConversationLongClick(Context context, View view, BaseUiConversation baseUiConversation) {
|
||||
new ConversationPopuwWindow((Activity) context)
|
||||
.setIsAdmin(baseUiConversation.mCore.getTargetId())
|
||||
.show(view);
|
||||
// new ConversationPopuwWindow((Activity) context)
|
||||
// .setIsAdmin(baseUiConversation.mCore.getTargetId())
|
||||
// .show(view);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user