Open Swisyn opened 9 years ago
HI Swisyn, i've the same problem. You were able to find a solution?
Thanks a lot
this is so useless library and i gave up to using it. I use progresslayout lib or multistateview lib. @mitsus
We also have lots of issues with ensureContent errors, often associated with calls to setContentShown(false).
Sometimes i get tons of error feedbacks from my users about the lib.
java.lang.IllegalStateException: Content view not yet created at com.devspark.progressfragment.ProgressFragment.ensureContent(ProgressFragment.java:273) at com.devspark.progressfragment.ProgressFragment.setContentEmpty(ProgressFragment.java:250)
My fragments like; public class BusListFragment extends ProgressFragment { private Context context; private CardRecyclerView cardRecyclerView; private View rootView;
} and the task is like; public class getClosestStopListAsync extends AsyncTask<Void, Void, String> { ProgressFragment fragment; Context context; GoogleMap map; LatLng location;
}
how can it be possible that content view not yet created? OnActivityCreated is called after OnCreateView so that means views could be created?
How can i fix this issue? Thanks.