Tuesday, December 27, 2016

repository

My first open source Android library - repository, which uses Repository Pattern to load xml or image contents from remote server, local file cache or memory cache.

It took me almost one year (commit history: Nov 22, 2015 - Dec 27, 2016) to:
1) develop it as an Android library
2) prepare a sample app to showcase how to use it
3) publish it to JCenter
4) ready to use for now.

It is quite challenging to develop a library when I compare it with mobile app development. I need to think from a developer point of view, how to code in a way that make them easy to understand.

Thanks to the open source community, I get to study a lot of source code from Square Picasso & Otto, learn from them on how to make a good Android library.
- use Singleton instance
- use Immutable object
- use Builder pattern

I wish one day in the future, someone else will be able to benefit from my contribution on this open source community as well.

No comments:

Post a Comment