Skip to content Skip to sidebar Skip to footer
Showing posts with the label Design Patterns

Android - Google's Contradiction On Singleton Pattern

I've been reading a bit about Singleton pattern usage in Android and its disadvantages regardin… Read more Android - Google's Contradiction On Singleton Pattern

What Is The Best Pattern To Sync Data Between Two Recycler View With Two Activities?

I have two activities where they have almost same data, I am using same Adapter, But the problem is… Read more What Is The Best Pattern To Sync Data Between Two Recycler View With Two Activities?

Is Using Onclicklistener() An Example Of Strategy Pattern?

Is OnClickListener in android an example of Strategy pattern ? In another Stackoverflow question ac… Read more Is Using Onclicklistener() An Example Of Strategy Pattern?

Android Custom Brush Pattern/image

I have an 8x8 Image. (bitmap - can be changed) What I want to do is be able to draw a shape, given … Read more Android Custom Brush Pattern/image