Closed chibatching closed 6 years ago
π
We try this π
@chibatching This is very useful pull request for all apps π Sorry When merged I was high. I think this is leaking. Because ViewModel can exist across the recreation of Activity. And probably RecyclerViewPool have views that have activity SessionFragment or MainActivity should have that. Probably we should create an interface for that.
You may be right. I''ll check and fix later! Thanks!
@chibatching Thanksπ
I fixed at #662 π
Issue
Overview (Required)
Problem
I'm not sure it is appropriate to keep
RecyclerViewPool
onSessionsViewModel
. I think there are three options.SessionsViewModel
(This PR is) or other new ViewModel.Do you have any advice to give to?
Links
-
Screenshot