String k = cursor.getString(cursor.getColumnIndex(ThemeDatabaseHelper.COLUMN_NAME_TITLE));
String value = cursor.getString(cursor.getColumnIndex(ThemeDatabaseHelper.COLUMN_NAME_SUBTITLE));
if (k.equals(key)) {
cursor.close();
if (database.isOpen()) database.close();
ThemeDatabaseCache.lruCache.put(key, defaultValue);
return value;
}
I am gonna try to pass this to my setBackground method as BaseAdapter and try to call notifyDatasetChanged inside onPostExecute and let you know how it goes.
I am afraid I can't show you how I setup the adapter. but basically this is what I do for the setBackgroundColor part. I just call it on my custom layout on the getView method.
and if I have over 100 items, Its gonna call that piece of code 100 times, I don't see a way my code isn't called on UIThread either since it's called on onPostExecute?
I asked a question 2 days ago, Got no attention still just 2 upvotes, if Anyone has the time you can take a look at it. stackoverflow.com/questions/53986074/…
I see 33 on both... this is first output messageDecoded=CARR0033TRANSACTION IGNORED+ and this is the second output #CARR0033TRANSACTION IGNORED+ only thing that changed is there is #