{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/FastAdapter/issues/641","repository_url":"https://api.github.com/repos/mikepenz/FastAdapter","labels_url":"https://api.github.com/repos/mikepenz/FastAdapter/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/FastAdapter/issues/641/comments","events_url":"https://api.github.com/repos/mikepenz/FastAdapter/issues/641/events","html_url":"https://github.com/mikepenz/FastAdapter/issues/641","id":298135040,"number":641,"title":"Q: force keep single item","user":{"login":"DJafari","id":1963047,"avatar_url":"https://avatars2.githubusercontent.com/u/1963047?v=4","gravatar_id":"","url":"https://api.github.com/users/DJafari","html_url":"https://github.com/DJafari","followers_url":"https://api.github.com/users/DJafari/followers","following_url":"https://api.github.com/users/DJafari/following{/other_user}","gists_url":"https://api.github.com/users/DJafari/gists{/gist_id}","starred_url":"https://api.github.com/users/DJafari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJafari/subscriptions","organizations_url":"https://api.github.com/users/DJafari/orgs","repos_url":"https://api.github.com/users/DJafari/repos","events_url":"https://api.github.com/users/DJafari/events{/privacy}","received_events_url":"https://api.github.com/users/DJafari/received_events","type":"User","site_admin":false},"labels":[{"id":304496575,"url":"https://api.github.com/repos/mikepenz/FastAdapter/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars0.githubusercontent.com/u/1476232?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars0.githubusercontent.com/u/1476232?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},{"login":"FabianTerhorst","id":3597376,"avatar_url":"https://avatars1.githubusercontent.com/u/3597376?v=4","gravatar_id":"","url":"https://api.github.com/users/FabianTerhorst","html_url":"https://github.com/FabianTerhorst","followers_url":"https://api.github.com/users/FabianTerhorst/followers","following_url":"https://api.github.com/users/FabianTerhorst/following{/other_user}","gists_url":"https://api.github.com/users/FabianTerhorst/gists{/gist_id}","starred_url":"https://api.github.com/users/FabianTerhorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabianTerhorst/subscriptions","organizations_url":"https://api.github.com/users/FabianTerhorst/orgs","repos_url":"https://api.github.com/users/FabianTerhorst/repos","events_url":"https://api.github.com/users/FabianTerhorst/events{/privacy}","received_events_url":"https://api.github.com/users/FabianTerhorst/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-02-19T00:41:51Z","updated_at":"2018-02-21T13:31:55Z","closed_at":"2018-02-21T11:51:01Z","author_association":"NONE","body":"hi @mikepenz \r\nhow can possible keep single item with certain viewType from recycle ?\r\n\r\ni want all items with `viewType: R.id.custom_view_type` always keep in list and don't destroy view\r\n\r\ni google it, found two answer :\r\n\r\n```java\r\nrecyclerView.getRecycledViewPool().setMaxRecycledViews(R.id.custom_view_type, 0);\r\n```\r\ndon't work and unbindView of Item is called\r\n\r\nsecond :\r\n\r\n```java\r\nholder.setIsRecyclable(false);\r\n```\r\n\r\nwhen i set this in `bindView` of item, `unbindView` not called, but when i reach to this item, `bindView` called again with adapter\r\n\r\nin other words because my item bind is too expensive, i don't want rebind this item more than one\r\n\r\ndo you have any idea ?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/mikepenz/FastAdapter/issues/comments/367326288","html_url":"https://github.com/mikepenz/FastAdapter/issues/641#issuecomment-367326288","issue_url":"https://api.github.com/repos/mikepenz/FastAdapter/issues/641","id":367326288,"user":{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars0.githubusercontent.com/u/1476232?v=4","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T13:31:55Z","updated_at":"2018-02-21T13:31:55Z","author_association":"OWNER","body":"it just will ensure that this is always set :D and it is not forgotten somewhere. \r\n\r\nok then it is ok. Remember. This item can not and should never be used in any place where it will exist multiple times in on activity, as it will always end up being the same viewholder"}}
{"actor":{"display_login":"mikepenz"}}