You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I put "flingContainer.setAdapter(arrayAdapter);" into the OnCreate(), it can be seen when the activity start! But when I put "flingContainer.setAdapter(arrayAdapter);" into the OnClickListener of a button , the view cannot be seen!
#189
The text was updated successfully, but these errors were encountered:
jzqiao
changed the title
When I put "flingContainer.setAdapter(arrayAdapter);" into the OnCreate(), it can be seen when the activity start!
When I put "flingContainer.setAdapter(arrayAdapter);" into the OnCreate(), it can be seen when the activity start! But when I put "flingContainer.setAdapter(arrayAdapter);" into the OnClickListener of a button , the view cannot be seen!
Mar 1, 2017
I have same issues can you help me I want show my view after response but my view not show. My adapter constructor call but adapter getView and getCount method not call.
I got the same problem using setAdapter in other function on my Fragment, getCount() and getView() were never called on adapter, but using notifyDataSetChanged() in this way
/*arrayAdapter = new CustomBaseAdapter(getActivity(), list);
flingContainer.setAdapter(arrayAdapter);
arrayAdapter.notifyDataSetChanged();
*/
it works
No description provided.
The text was updated successfully, but these errors were encountered: