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

Should Broadcastreceiver Be Declared Inside Activities?

I'm wondering what's the better cleaner design approach to handle BroadcastReceiver creatio… Read more Should Broadcastreceiver Be Declared Inside Activities?

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

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 - 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

Better Way To Pass Data Between Activities In Android

In my application I am fetching data from JavaScript, as it is not possible to return the data as a… Read more Better Way To Pass Data Between Activities In Android

Usage Of Sqliteopenhelper.getwritabledatabase

According to http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#g… Read more Usage Of Sqliteopenhelper.getwritabledatabase

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?