{"action":"created","issue":{"url":"https://api.github.com/repos/felipecsl/QuickReturn/issues/16","labels_url":"https://api.github.com/repos/felipecsl/QuickReturn/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/felipecsl/QuickReturn/issues/16/comments","events_url":"https://api.github.com/repos/felipecsl/QuickReturn/issues/16/events","html_url":"https://github.com/felipecsl/QuickReturn/issues/16","id":44596141,"number":16,"title":"Incorrect recycled view when viewtypecount > 1","user":{"login":"tuandigital","id":5296613,"avatar_url":"https://avatars.githubusercontent.com/u/5296613?v=3","gravatar_id":"","url":"https://api.github.com/users/tuandigital","html_url":"https://github.com/tuandigital","followers_url":"https://api.github.com/users/tuandigital/followers","following_url":"https://api.github.com/users/tuandigital/following{/other_user}","gists_url":"https://api.github.com/users/tuandigital/gists{/gist_id}","starred_url":"https://api.github.com/users/tuandigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuandigital/subscriptions","organizations_url":"https://api.github.com/users/tuandigital/orgs","repos_url":"https://api.github.com/users/tuandigital/repos","events_url":"https://api.github.com/users/tuandigital/events{/privacy}","received_events_url":"https://api.github.com/users/tuandigital/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-01T18:04:42Z","updated_at":"2015-01-21T07:29:43Z","closed_at":"2015-01-21T07:29:43Z","body":"When I use your library for an ArrayAdapter with viewtypecount > 1. The recycled view in getView is not match with view type. I found the solution in your QuickReturnAdapter.java, just change to the following lines:\r\n\r\n    @Override\r\n    public int getItemViewType(final int position) {\r\n        if (position < numColumns)\r\n            return wrappedAdapter.getViewTypeCount();\r\n        return wrappedAdapter.getItemViewType(position - numColumns);\r\n    }\r\n\r\nCould you take a look at this fix:)\r\n\r\nThanks,\r\n-Tuan"},"comment":{"url":"https://api.github.com/repos/felipecsl/QuickReturn/issues/comments/70795555","html_url":"https://github.com/felipecsl/QuickReturn/issues/16#issuecomment-70795555","issue_url":"https://api.github.com/repos/felipecsl/QuickReturn/issues/16","id":70795555,"user":{"login":"felipecsl","id":190648,"avatar_url":"https://avatars.githubusercontent.com/u/190648?v=3","gravatar_id":"","url":"https://api.github.com/users/felipecsl","html_url":"https://github.com/felipecsl","followers_url":"https://api.github.com/users/felipecsl/followers","following_url":"https://api.github.com/users/felipecsl/following{/other_user}","gists_url":"https://api.github.com/users/felipecsl/gists{/gist_id}","starred_url":"https://api.github.com/users/felipecsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipecsl/subscriptions","organizations_url":"https://api.github.com/users/felipecsl/orgs","repos_url":"https://api.github.com/users/felipecsl/repos","events_url":"https://api.github.com/users/felipecsl/events{/privacy}","received_events_url":"https://api.github.com/users/felipecsl/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T07:29:43Z","updated_at":"2015-01-21T07:29:43Z","body":"Fixed via #28 "}}