How can I show a spinning wheel while fragments are created?
To create fragments I use _FragmentStatePagerAdapter_
.
You can use onAttach() method of fragment to show progress. and you can hide on after onActivityCreated() method
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.