android what to use instead of onRestart() in a fragment

前端 未结 5 1296
既然无缘
既然无缘 2021-01-20 15:34

I\'m dealing with .setVisibility() of a view, inside my main fragment at app start. So what I want is that the view is invisible on app sta

5条回答
  •  温柔的废话
    2021-01-20 16:00

    You need to use the onResume() callback method, if you would like to detect when the fragment is visible again

提交回复
热议问题