Room List - TapUI
If you are using UI implementation type, you can use the method below to open TapTalk.io's chat room list activity.
Java
Kotlin
TapUI.getInstance().openRoomList(CONTEXT);
TapUI.getInstance().openRoomList(CONTEXT)
Parameters
CONTEXT
: (Context) your Application or Activity contextAnother option to use the chat room list as a fragment is also available:
Java
Kotlin
private TapUIMainRoomListFragment roomListFragment;
roomListFragment = TapUI.getInstance().getRoomListFragment();
getSupportFragmentManager()
.beginTransaction()
.show(roomListFragment)
.commit();
var roomListFragment = TapUI.getInstance().getRoomListFragment();
getSupportFragmentManager()
.beginTransaction()
.show(roomListFragment)
.commit()
Last modified 2yr ago