public class LocationUiRender extends java.lang.Object implements IConversationUIRenderer
Constructor and Description |
---|
LocationUiRender() |
Modifier and Type | Method and Description |
---|---|
boolean |
handlePageEvent(PageEvent event)
会话页面渲染事件回调。
|
void |
init(ConversationFragment fragment,
RongExtension extension,
Conversation.ConversationType conversationType,
java.lang.String targetId)
进入会话页面后,初始化各 UI 渲染器。
|
boolean |
onBackPressed()
按返回键时的回调
|
void |
onDestroy()
退出会话页面时回调。
|
public void init(ConversationFragment fragment, RongExtension extension, Conversation.ConversationType conversationType, java.lang.String targetId)
IConversationUIRenderer
init
in interface IConversationUIRenderer
fragment
- 会话 fragmentextension
- 会话扩展栏conversationType
- 会话类型targetId
- 会话 idpublic boolean handlePageEvent(PageEvent event)
IConversationUIRenderer
handlePageEvent
in interface IConversationUIRenderer
event
- 渲染事件public boolean onBackPressed()
IConversationUIRenderer
onBackPressed
in interface IConversationUIRenderer
public void onDestroy()
IConversationUIRenderer
onDestroy
in interface IConversationUIRenderer