use of ingage.ingage20.adapters.ChatPageListAdapter in project iNGAGE by davis123123.
the class ChatPageListFragment method create.
public View create(final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) {
rootView = inflater.inflate(R.layout.fragment_page_list, container, false);
chatRoomManager = new ChatRoomManager(getContext());
chatPageListAdapter = new ChatPageListAdapter(this, getContext());
chat = chatRoomManager.getUserDetails();
thread_id = chat.get(ChatRoomManager.THREAD_ID);
root = FirebaseDatabase.getInstance().getReference().child(thread_id);
chatPageListAdapter.setItemClickCallback(this);
pageEventListener(root);
return rootView;
}
Aggregations