* @author Filipe de Lima Brito (filipedelimabrito@gmail.com)
* @author Filipe de Lima Brito (filipedelimabrito@gmail.com)
...
@@ -22,18 +23,54 @@ class ChatListFragment : Fragment() {
...
@@ -22,18 +23,54 @@ class ChatListFragment : Fragment() {
showChatList(createDumpData())
showChatList(createDumpData())
}
}
// This is just a sample showing 8 chat rooms (aka user subscription). We need to get it rid in a real word. REMARK: remove this comment and this method.
// This is just a sample showing 6 chat rooms (aka user subscription). We need to get it rid in a real word. REMARK: remove this comment and this method.
valdumpChat4=Chat("https://open.rocket.chat/avatar/sing.li","mobile-internal","p",null,"@aaron.ogle @rafael.kellermann same problem over here. Although all the servers show up on the selection.","11:40",0)
"online",
valdumpChat5=Chat("https://open.rocket.chat/avatar/matheus.cardoso","androidnativeapp","c",null,"Yes @sttyru, but you'll need to implement from the ground up following the docs at docs.rocket.chat where you can see the REST (HTTP) and Real-Time (WebSockets) calls.","11:40",0)
"Yes @sttyru, but you'll need to implement from the ground up following the docs at docs.rocket.chat where you can see the REST (HTTP) and Real-Time (WebSockets) calls.",