Android Design Pattern
As an android developer you should know these design pattern :
1 : Singleton class -> HERE you will get the best idea.
2 : Factory -> HERE you will get an idea of that.
3 : Iterator -> THIS link explained it very well.
4 : Builder -> HERE you will find a good explanation about builder pattern in java8.
5 : Dependency injection -> No doubt Dagger2 is best for it. if you already using it just check it out for new version of Dagger HERE
6 : Custom Listeners -> We generally use onClickListeners on button click or locationUpdateListeners so how can we our own listeners, check it out HERE
7 : Adapter -> Adapter is an interface which is responsible for the communication between the adapterView and the data we want to display generally we use it for displaying data in listView/recyclerView or exposing data from cursor ( pointed to a row to the result set returned by a database query and also provides access to modify the data )to our list. HERE you will find a brief explanation.
Thanks for reading this article. Be sure to click ❤ below to recommend this article if you found it helpful. It means a lot to me. Please mention any other possible ways if you think.
Also, Let’s become friends on Linkedin, GitHub and Facebook.
