Merge remote-tracking branch 'origin/branch_new' into branch_new
This commit is contained in:
@@ -77,6 +77,9 @@ public class ChatRoomFragment extends BaseMvpFragment<ChatRoomPresenter, RoomFra
|
|||||||
public boolean mIsPriRoom = false;
|
public boolean mIsPriRoom = false;
|
||||||
// 在需要的地方调用 Activity 的方法
|
// 在需要的地方调用 Activity 的方法
|
||||||
public void someMethod() {
|
public void someMethod() {
|
||||||
|
if (mIsPriRoom){
|
||||||
|
return;
|
||||||
|
}
|
||||||
easeChatAdapter.clearData();
|
easeChatAdapter.clearData();
|
||||||
ToastUtils.showShort("清除成功");
|
ToastUtils.showShort("清除成功");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,9 @@ class PurchaseOutfitsDialog(context: Context) :
|
|||||||
adapterDataList as MutableList<DecorateDetailBean.DecorateAdapterItem>,
|
adapterDataList as MutableList<DecorateDetailBean.DecorateAdapterItem>,
|
||||||
t.decorate!!.priceList.isEmpty()
|
t.decorate!!.priceList.isEmpty()
|
||||||
)
|
)
|
||||||
|
if (t.decorate!!.priceList.isNotEmpty()) {
|
||||||
|
mSelectedPriceBean = t.decorate!!.priceList[0]
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
dismiss()
|
dismiss()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user