{"action":"created","issue":{"url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader/issues/71","repository_url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader","labels_url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader/issues/71/comments","events_url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader/issues/71/events","html_url":"https://github.com/blipinsk/RecyclerViewHeader/issues/71","id":293417100,"number":71,"title":"How to hide header when search items","user":{"login":"kingnightdrifter","id":15875083,"avatar_url":"https://avatars1.githubusercontent.com/u/15875083?v=4","gravatar_id":"","url":"https://api.github.com/users/kingnightdrifter","html_url":"https://github.com/kingnightdrifter","followers_url":"https://api.github.com/users/kingnightdrifter/followers","following_url":"https://api.github.com/users/kingnightdrifter/following{/other_user}","gists_url":"https://api.github.com/users/kingnightdrifter/gists{/gist_id}","starred_url":"https://api.github.com/users/kingnightdrifter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingnightdrifter/subscriptions","organizations_url":"https://api.github.com/users/kingnightdrifter/orgs","repos_url":"https://api.github.com/users/kingnightdrifter/repos","events_url":"https://api.github.com/users/kingnightdrifter/events{/privacy}","received_events_url":"https://api.github.com/users/kingnightdrifter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-01T06:24:14Z","updated_at":"2018-02-05T12:03:22Z","closed_at":null,"author_association":"NONE","body":"Hello there Hope you are doing good,\r\n\r\nI am facing an issue that how to hide header when apply search on recyclerview. My sample code is here bellow. Please pause your comment really appreciate to you.\r\n\r\n <LinearLayout\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"45dp\"\r\n        android:focusableInTouchMode=\"true\">\r\n    <android.support.v7.widget.SearchView\r\n        android:id=\"@+id/floating_search_view\"\r\n        android:layout_width=\"fill_parent\"\r\n        android:layout_height=\"fill_parent\"\r\n        app:defaultQueryHint=\"Some Text Here\"\r\n        app:queryHint=\"Search Restaurant\"\r\n        app:iconifiedByDefault=\"false\"\r\n        app:searchIcon=\"@drawable/search_icon\"\r\n        style=\"@style/SearchViewMy\"\r\n        android:queryBackground=\"@android:color/transparent\"\r\n        android:focusableInTouchMode=\"true\"/>\r\n    </LinearLayout>\r\n\r\n        <android.support.v4.widget.SwipeRefreshLayout\r\n            xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n            android:id=\"@+id/refresh_layout\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"match_parent\">\r\n\r\n    <android.support.percent.PercentRelativeLayout\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        android:id=\"@+id/recycler_view_restaurant\">\r\n\r\n        <android.support.v7.widget.RecyclerView\r\n            android:id=\"@+id/restaurant_recycler_view\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"match_parent\"\r\n            app:layout_behavior=\"@string/appbar_scrolling_view_behavior\"\r\n            android:clipToPadding=\"false\"\r\n           />\r\n\r\n        <com.bartoszlipinski.recyclerviewheader2.RecyclerViewHeader\r\n            android:id=\"@+id/header\"\r\n            app:layout_widthPercent=\"100%\"\r\n            app:layout_heightPercent=\"38%\"\r\n            android:layout_gravity=\"center_horizontal|top\">\r\n\r\n            <include layout=\"@layout/row_item_view_pager\"></include>\r\n\r\n\r\n        </com.bartoszlipinski.recyclerviewheader2.RecyclerViewHeader>\r\n\r\n    </android.support.percent.PercentRelativeLayout>\r\n\r\n\r\n        </android.support.v4.widget.SwipeRefreshLayout>\r\n\r\n</LinearLayout>"},"comment":{"url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader/issues/comments/363065394","html_url":"https://github.com/blipinsk/RecyclerViewHeader/issues/71#issuecomment-363065394","issue_url":"https://api.github.com/repos/blipinsk/RecyclerViewHeader/issues/71","id":363065394,"user":{"login":"blipinsk","id":6371716,"avatar_url":"https://avatars3.githubusercontent.com/u/6371716?v=4","gravatar_id":"","url":"https://api.github.com/users/blipinsk","html_url":"https://github.com/blipinsk","followers_url":"https://api.github.com/users/blipinsk/followers","following_url":"https://api.github.com/users/blipinsk/following{/other_user}","gists_url":"https://api.github.com/users/blipinsk/gists{/gist_id}","starred_url":"https://api.github.com/users/blipinsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blipinsk/subscriptions","organizations_url":"https://api.github.com/users/blipinsk/orgs","repos_url":"https://api.github.com/users/blipinsk/repos","events_url":"https://api.github.com/users/blipinsk/events{/privacy}","received_events_url":"https://api.github.com/users/blipinsk/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T12:03:22Z","updated_at":"2018-02-05T12:03:22Z","author_association":"OWNER","body":"please correct the posted layout xml\r\nRight now it doesn't really make any sense (too many `LinearLayouts`).\r\n"}}
{"actor":{"display_login":"blipinsk"}}