Android Pager Issue on Pause

前端 未结 3 1044
情深已故
情深已故 2021-01-05 18:19

I\'m building an application using Pager with the compatibility library. My application forceClose whenever I try to pause it (when I come back to my desktop for instance).<

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-05 18:40

    try out mu answer here basically override the onSaveInstanceState, put atleast one value in the bundle. Do for all fragments

提交回复
热议问题