{"action":"created","issue":{"url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/154","repository_url":"https://api.github.com/repos/florent37/MaterialViewPager","labels_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/154/comments","events_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/154/events","html_url":"https://github.com/florent37/MaterialViewPager/issues/154","id":104231386,"number":154,"title":"ViewPager with setOffscreenPageLimit","user":{"login":"krzysiek-icomapss","id":13034576,"avatar_url":"https://avatars.githubusercontent.com/u/13034576?v=3","gravatar_id":"","url":"https://api.github.com/users/krzysiek-icomapss","html_url":"https://github.com/krzysiek-icomapss","followers_url":"https://api.github.com/users/krzysiek-icomapss/followers","following_url":"https://api.github.com/users/krzysiek-icomapss/following{/other_user}","gists_url":"https://api.github.com/users/krzysiek-icomapss/gists{/gist_id}","starred_url":"https://api.github.com/users/krzysiek-icomapss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzysiek-icomapss/subscriptions","organizations_url":"https://api.github.com/users/krzysiek-icomapss/orgs","repos_url":"https://api.github.com/users/krzysiek-icomapss/repos","events_url":"https://api.github.com/users/krzysiek-icomapss/events{/privacy}","received_events_url":"https://api.github.com/users/krzysiek-icomapss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-01T09:59:24Z","updated_at":"2016-05-31T13:34:11Z","closed_at":null,"body":"My English is bad but i will try explain the problem which I encountered. Material VIewPager is not prepare for situations when i want to have in memory only some fragments and build new ones when user want to see them (ex. I have 15 tabs). Most important is fact that there is method for example registerRecyclerView and in sample u just do it in onVIewCreated. Everything is fine if all fragments are created in starting activity but when u create theme during using app than it will start memory leaks, because there is no method like unregister - or maybe i havent seen one. "},"comment":{"url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/comments/222689511","html_url":"https://github.com/florent37/MaterialViewPager/issues/154#issuecomment-222689511","issue_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/154","id":222689511,"user":{"login":"DKholevinsky","id":10176956,"avatar_url":"https://avatars.githubusercontent.com/u/10176956?v=3","gravatar_id":"","url":"https://api.github.com/users/DKholevinsky","html_url":"https://github.com/DKholevinsky","followers_url":"https://api.github.com/users/DKholevinsky/followers","following_url":"https://api.github.com/users/DKholevinsky/following{/other_user}","gists_url":"https://api.github.com/users/DKholevinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/DKholevinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DKholevinsky/subscriptions","organizations_url":"https://api.github.com/users/DKholevinsky/orgs","repos_url":"https://api.github.com/users/DKholevinsky/repos","events_url":"https://api.github.com/users/DKholevinsky/events{/privacy}","received_events_url":"https://api.github.com/users/DKholevinsky/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T13:34:11Z","updated_at":"2016-05-31T13:34:11Z","body":"Sorry for my english\r\nThe question is relevant to a memory leak! When flipping pages onDestroyView occurs, but the memory is not freed. Apparently due to hashMap MaterialViewPagerHelper that stores links to all RecyclerView"}}
{"actor":{"display_login":"DKholevinsky"}}