修改测试问题,shouye ytuijian
This commit is contained in:
parent
94b795213a
commit
e89e8a413f
@ -74,7 +74,7 @@ public class SearchHistoryRecordManager extends BaseCacheManager {
|
|||||||
* @param value 备注信息
|
* @param value 备注信息
|
||||||
*/
|
*/
|
||||||
public void addHistoryRecord(String key, String value) {
|
public void addHistoryRecord(String key, String value) {
|
||||||
|
if (historyRecordList == null) return;
|
||||||
if (historyRecordList.size() == 10) {
|
if (historyRecordList.size() == 10) {
|
||||||
historyRecordList.remove(0);
|
historyRecordList.remove(0);
|
||||||
}
|
}
|
||||||
|
@ -331,10 +331,10 @@ public class LiveEndViewHolder extends AbsViewHolder implements View.OnClickList
|
|||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Bus.get().post(new CloseEvent());
|
||||||
mCheckLivePresenter.checkLive(liveBean);
|
mCheckLivePresenter.checkLive(liveBean);
|
||||||
} else {
|
} else {
|
||||||
|
Bus.get().post(new CloseEvent());
|
||||||
RouteUtil.forwardUserHome(mContext, String.valueOf(event.getModel().getId()), 0);
|
RouteUtil.forwardUserHome(mContext, String.valueOf(event.getModel().getId()), 0);
|
||||||
if (mContext instanceof LiveAnchorActivity) {
|
if (mContext instanceof LiveAnchorActivity) {
|
||||||
((LiveAnchorActivity) mContext).superBackPressed();
|
((LiveAnchorActivity) mContext).superBackPressed();
|
||||||
|
Loading…
Reference in New Issue
Block a user