Have any suggestion? Any advice for good practice? Please send me a pull request.
I created different-network-layer branch in this repository for a better implementation. In master
branch I called Retrofit
methods from my Activity
class. But the network related implementation should in a different network layer not in view layer. You'll find an abstraction layer in this implementation. Click here for full source code.