测试修改
This commit is contained in:
parent
c0fa59ce64
commit
8aefa10ef8
@ -54,7 +54,7 @@ public class IMLoginManager extends BaseCacheManager {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean isSlide() {
|
public boolean isSlide() {
|
||||||
return getBoolean(IS_SLIDE, false);
|
return getBoolean(IS_SLIDE, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -387,7 +387,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
|
|||||||
} else {
|
} else {
|
||||||
Bus.get().post(new LiveAudienceEvent()
|
Bus.get().post(new LiveAudienceEvent()
|
||||||
.setType(LiveAudienceEvent.LiveAudienceType.NEW_MESSAGE_REMINDER));
|
.setType(LiveAudienceEvent.LiveAudienceType.NEW_MESSAGE_REMINDER));
|
||||||
}
|
|
||||||
if (bean.getAtUserID()!=null&&bean.getAtUserID().contains(String.valueOf(model.getId()))) {
|
if (bean.getAtUserID()!=null&&bean.getAtUserID().contains(String.valueOf(model.getId()))) {
|
||||||
Bus.get().post(new LiveAudienceEvent()
|
Bus.get().post(new LiveAudienceEvent()
|
||||||
.setType(LiveAudienceEvent.LiveAudienceType.AT_MESSAGE));
|
.setType(LiveAudienceEvent.LiveAudienceType.AT_MESSAGE));
|
||||||
@ -395,6 +395,8 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 判断是否滚到底部
|
* 判断是否滚到底部
|
||||||
*
|
*
|
||||||
|
@ -370,6 +370,12 @@ public class LiveInputDialogFragment extends AbsDialogFragment implements View.O
|
|||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onLiveInputEvent(LiveInputEvent event) {
|
public void onLiveInputEvent(LiveInputEvent event) {
|
||||||
atTextWatcher.insertTextForAt(event.getModel(), mInput);
|
atTextWatcher.insertTextForAt(event.getModel(), mInput);
|
||||||
|
new Handler().postDelayed(() -> {
|
||||||
|
|
||||||
|
mInput.requestFocus();
|
||||||
|
//软键盘弹出
|
||||||
|
imm.showSoftInput(mInput, InputMethodManager.SHOW_FORCED);
|
||||||
|
}, 600);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2003,11 +2003,12 @@
|
|||||||
android:layout_height="27.33dp"
|
android:layout_height="27.33dp"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/at_message"
|
android:id="@+id/at_message"
|
||||||
android:layout_width="106.67dp"
|
android:layout_width="87.67dp"
|
||||||
android:layout_height="27.33dp"
|
android:layout_height="27.33dp"
|
||||||
android:layout_above="@id/new_message"
|
android:layout_above="@id/new_message"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
|
Loading…
Reference in New Issue
Block a user