I implemented a chat server and an iOS application and posted about them on [Swift][Elixir]implement chat server and client.
Today, I implemented easy an android chat application for the server.
https://github.com/KazuCocoa/WebSocketDemoForAndroid
Use Toothpick and Smoothie
I use libraries called toothpick and smoothie as DI, such as Dagger but they are simpler than it.
https://github.com/KazuCocoa/WebSocketDemoForAndroid/commit/24e9d3d8fa3abf8a8e1116b35334ff22d8d81d2e
And I add reflection free option to make everything static.
https://github.com/KazuCocoa/WebSocketDemoForAndroid/commit/fa1fadff0aeeedcb5515b55af1c5bf5ff81d6993