添加用戶刷新機制
This commit is contained in:
parent
8b784e134e
commit
2cbdac4bd0
@ -146,7 +146,7 @@ public interface PDLiveApi {
|
||||
* @param liveuid
|
||||
* @return
|
||||
*/
|
||||
@GET("/api/public/?service=User.slketAttents")
|
||||
@GET("/api/public/?service=User.setAttents")
|
||||
Observable<ResponseModel<List<SetAttentsModel>>> setAttents(
|
||||
@Query("touid") String liveuid
|
||||
);
|
||||
|
@ -441,6 +441,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
try {
|
||||
manager.onBackPressed();
|
||||
if (Micing == 1) {
|
||||
manager.micIngTypeOne(mLiveBean, mLiveType, mLiveTypeVal);
|
||||
@ -448,10 +449,12 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
manager.micIngTypeTwo(mLiveBean, mLiveType, mLiveTypeVal);
|
||||
} else {
|
||||
manager.onRemove();
|
||||
verticalViewPager.removeAllViews();
|
||||
finish();
|
||||
overridePendingTransition(0, 0);
|
||||
super.onBackPressed();
|
||||
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
@ -471,7 +474,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
|
||||
overridePendingTransition(0, 0);
|
||||
Bus.getOff(this);
|
||||
L.e("LiveAudienceActivity-------onDestroy------->");
|
||||
}
|
||||
|
@ -290,7 +290,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
|
||||
IMLoginManager.get(mContext).setisNewUserOne(false);
|
||||
//子线程执行退出操作
|
||||
endPlay();
|
||||
|
||||
exitLiveRoom();
|
||||
|
||||
if (mLiveAudienceViewHolder != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user