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

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?

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?

Android- Loading Contacts With Viewholder And Asynctask- Thumbnail Issue

I am creating a custom contact app.. I use a ArrayAdapter with ViewHolder design pattern for optimi… Read more Android- Loading Contacts With Viewholder And Asynctask- Thumbnail Issue

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

Static Methods Or Singleton, Which One To Choose?

Possible Duplicate: Difference between static class and singleton pattern? Which is better in Java… Read more Static Methods Or Singleton, Which One To Choose?

Storing *.patt File In Sqlite Database

I have a .patt (pattern) file which I want to store in Sqlite Database and retrieve it later in ord… Read more Storing *.patt File In Sqlite Database