{"action":"opened","issue":{"url":"https://api.github.com/repos/Aspsine/IRecyclerView/issues/21","repository_url":"https://api.github.com/repos/Aspsine/IRecyclerView","labels_url":"https://api.github.com/repos/Aspsine/IRecyclerView/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Aspsine/IRecyclerView/issues/21/comments","events_url":"https://api.github.com/repos/Aspsine/IRecyclerView/issues/21/events","html_url":"https://github.com/Aspsine/IRecyclerView/issues/21","id":176176847,"number":21,"title":"setLoadMoreEnabled(false) doesn't hide the footer loading view","user":{"login":"jayrambhia","id":1256649,"avatar_url":"https://avatars.githubusercontent.com/u/1256649?v=3","gravatar_id":"","url":"https://api.github.com/users/jayrambhia","html_url":"https://github.com/jayrambhia","followers_url":"https://api.github.com/users/jayrambhia/followers","following_url":"https://api.github.com/users/jayrambhia/following{/other_user}","gists_url":"https://api.github.com/users/jayrambhia/gists{/gist_id}","starred_url":"https://api.github.com/users/jayrambhia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayrambhia/subscriptions","organizations_url":"https://api.github.com/users/jayrambhia/orgs","repos_url":"https://api.github.com/users/jayrambhia/repos","events_url":"https://api.github.com/users/jayrambhia/events{/privacy}","received_events_url":"https://api.github.com/users/jayrambhia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-10T12:17:26Z","updated_at":"2016-09-10T12:17:26Z","closed_at":null,"body":"As mentioned in the title, `setLoadMoreEnabled(fasle)` doesn't hide the already existing footer loader.\r\n\r\n    <com.aspsine.irecyclerview.IRecyclerView\r\n        android:id=\"@+id/recyclerview\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        app:loadMoreEnabled=\"true\"\r\n        app:loadMoreFooterLayout=\"@layout/loader_search_item_layout\"\r\n        app:refreshEnabled=\"true\"\r\n        app:refreshHeaderLayout=\"@layout/irecyclerview_header_item_layout\"\r\n        app:layout_behavior=\"@string/appbar_scrolling_view_behavior\"/>\r\n\r\nThis works fine with the header and footer. But let's say I don't have any new data and don't want the user to see load more footer, so I try to hide it by `setLoadMoreEnabled(false)` but this just works with the listener. I don't get any more events but the view is still there. I tried `setLoadMoreFooterView(null)` but that also gave me an error."}}
{"actor":{"display_login":"jayrambhia"}}