在一般的Activity 中這是完全沒問題的,若是在Fragment 中,就會產生「Use viewLifecycleOwner as the LifecycleOwner.」的錯誤。 這是因為Fragment 的生命週期較為 ...
確定! 回上一頁