Android Design Pattern

Ayush Jain
Aug 28, 2017 · 1 min read

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.

)

Ayush Jain

Written by

Android/iOS Developer | Machine Learner | Open Source Contributor

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade