Search-View-Layout
Search-View-Layout copied to clipboard
onClick catch focus and will not let me scroll
Hello,
When I implement OnClick on item in the list inside the search fragment I cant scroll. do you know why?
Hi,
Have you tried the demo activities in the app? There are examples with Scrollview, RecyclerView to fix this issue.
Hey, Even i am getting same issue. Keeping recyclerview focusable as true is not working even.
Hello,
When I implement OnClick on item in the list inside the search fragment I cant scroll. do you know why?
i see problem come from searchlayout put inside appbar, if you can fixed it please alert me. thanks for it. and also, if owner really want to share project, please make it, use able
i think this project is fail
Hey, Even i am getting same issue. Keeping recyclerview focusable as true is not working even.
for this problem add this to your code :
rv_search.addOnItemTouchListener(new RecyclerView.OnItemTouchListener() { @Override public boolean onInterceptTouchEvent(@NonNull RecyclerView rv, @NonNull MotionEvent e) { rv.getParent().requestDisallowInterceptTouchEvent(true); return false; } @Override public void onTouchEvent(@NonNull RecyclerView rv, @NonNull MotionEvent e) { } @Override public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) { } });