janishar / PlaceHolderView

This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
http://janishar.com/PlaceHolderView
Apache License 2.0
2.11k stars 369 forks source link

miss touch event for the sub children #19

Open jjhesk opened 8 years ago

jjhesk commented 8 years ago

There is a situation where the CoordinatorLayout or AppBarLayout didnt response to the touch of the sub children of the placeholderview.

<android.support.design.widget.CoordinatorLayout <android.support.design.widget.AppBarLayout </android.support...AppBarLayout>

< com.mindorks.placeholderview.PlaceHolderView android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" />

</android.support.design.widget.CoordinatorLayout>

It is observed that only the first layer of children with the touch event can dictate the movement of the AppBarLayout.

janishar commented 8 years ago

@jjhesk Are you making the AppBar to hide with scrolling? Can you share the code for me to understand it better.

jjhesk commented 8 years ago

its basically the implementation with another PlaceHolderView as child. there is not much difference compared to the demo code.

quiet324 commented 7 years ago

Meet the same issue