compose(bindToLifecycle()) .subscribe();. If you execute this in the onCreate() method of the activity it will automatically unsubscribed in the onDestroy() .
確定! 回上一頁