接口 IRecyclerViewHandle

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void canUseDefaultRefresh​(boolean canUseRefresh)
      Whether to use the default refresh
      void highlightItem​(int position)
      Highlight item to attract user.
      void isNeedScrollToBottomWhenViewChange​(boolean isNeedToScrollBottom)
      Whether to scroll to the bottom when the RecyclerView's height changes
      void moveToPosition​(int position)
      Move to the specified position
      void moveToTarget​(io.agora.chat.ChatMessage message)
      Move to the specified message if conversation has.
      void refreshMessage​(io.agora.chat.ChatMessage message)
      Refresh single message
      void refreshMessage​(java.lang.String messageId)
      Refresh single message by id.
      void refreshMessages()
      Refresh messages
      void refreshToLatest()
      Refresh and move to the latest piece of data
      void removeMessage​(io.agora.chat.ChatMessage message)
      Delete single message
      void setRefreshing​(boolean refreshing)
      Notify the widget that refresh state has changed.
    • 方法详细资料

      • canUseDefaultRefresh

        void canUseDefaultRefresh​(boolean canUseRefresh)
        Whether to use the default refresh
        参数:
        canUseRefresh -
      • refreshMessages

        void refreshMessages()
        Refresh messages
      • refreshToLatest

        void refreshToLatest()
        Refresh and move to the latest piece of data
      • refreshMessage

        void refreshMessage​(io.agora.chat.ChatMessage message)
        Refresh single message
        参数:
        message -
      • refreshMessage

        void refreshMessage​(java.lang.String messageId)
        Refresh single message by id.
        参数:
        messageId -
      • removeMessage

        void removeMessage​(io.agora.chat.ChatMessage message)
        Delete single message
        参数:
        message -
      • moveToPosition

        void moveToPosition​(int position)
        Move to the specified position
        参数:
        position -
      • moveToTarget

        void moveToTarget​(io.agora.chat.ChatMessage message)
        Move to the specified message if conversation has. It is subject to the maximum range of search history messages.
        参数:
        message -
      • highlightItem

        void highlightItem​(int position)
        Highlight item to attract user.
        参数:
        position -
      • setRefreshing

        void setRefreshing​(boolean refreshing)
        Notify the widget that refresh state has changed.
        参数:
        refreshing -
      • isNeedScrollToBottomWhenViewChange

        void isNeedScrollToBottomWhenViewChange​(boolean isNeedToScrollBottom)
        Whether to scroll to the bottom when the RecyclerView's height changes
        参数:
        isNeedToScrollBottom -