Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 3.62 KB

README_SENCE.md

File metadata and controls

50 lines (28 loc) · 3.62 KB

Scene Directory

  1. Support changing the height of the input method dynamically/hiding the function panel when the navigation bar is hidden
  2. Chat scene (like WeChat)
  3. Video playback scene (class BiliBili)
  4. Computer live broadcast scene (like Huya live broadcast)
  5. Mobile phone live broadcast scene (like TikTok live broadcast)
  6. Information flow comment scene (like WeChat circle of friends)

Support for dynamically changing the height of the input method/hiding the display of the navigation bar

In many IM scenarios on the market, when users change the height of the input method and switch back to the function panel, the height inconsistency occurs, as does WeChat. At the same time, it also needs to adapt to the devices with navigation bar operations, such as Huawei and Xiaomi. In order to pursue a smoother switching effect, the framework supports adapting the function panel when dynamically changing the height of the input method.

Chat scene

The chat scene is applicable to any IM scene. Demo uses Activity/Fragment/DialogFragment/PopupWindow/Dialog respectively to realize the window technology you can use. You can refer to the chat scene in the Demo.

Video playback scene

Refer to the BiliBili implementation for video playback effects. The left picture shows the BiliBili effect, and the right picture shows the Demo effect. The effect is better than the BiliBili implementation.

Computer live broadcast scene

Refer to the Huya live broadcast room for the computer live broadcast effect. The left picture shows the Huya live broadcast room. The right picture shows the Demo effect, which is better than the Huya live broadcast.

Mobile live broadcast scene

For the mobile phone live broadcast effect, please refer to the realization of Douyin Live. The picture on the left shows the effect of Douyin Live, and the picture on the right shows the effect of Demo.

Stream comment scene

The effect of the comment on the information flow can be found on the WeChat Moments. The picture on the left shows the effect of the WeChat Moments, and the picture on the right shows the effect of the Demo.

####Complex chat scene

  • Customize the sliding of each subview
  • Support to simulate multiple EditText to pull up the panel