I changed the locale
of my application programmatically, like following:
Resources res = context.getResources();
DisplayMetri
I finally found the solution to it! Just run your view update code in the UI thread
Example -
getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
user_arrayList.add(name);
adapter.notifyDataSetChanged();
tv_total_users.setText("Total Users : "+user_arrayList.size());
}
});
Finally found this solution after trying for almost 4-5 hours!