You use a parameter to indicate which lifecycle event it will react to. Add @OnLifecycleEvent to the different methods, as follows: @ ...
確定! 回上一頁