-2

ViewCompat.setNestedScrollingEnabled() is not working on KitKat. It does work fine on Lollipop.

What maybe the issue and how to resolve it?

azizbekian
  • 60,783
  • 13
  • 169
  • 249
Najib.Nj
  • 3,706
  • 1
  • 25
  • 39
  • What type is the view, that you are trying to apply nested scrolling? – azizbekian Jun 07 '17 at 08:42
  • *not working* ... *What maybe the issue* => Well, since you only said it's not working, carefully omitting *any* detail on the error, how would anyone know ? Now's a good time to read [how to ask a question](https://stackoverflow.com/help/how-to-ask)... – 2Dee Jun 07 '17 at 09:00
  • Android L and M device, working nested scroll view ViewCompat.setNestedScrollingEnabled() – Najib.Nj Jun 07 '17 at 09:08
  • but below Android L device it is not scroll – Najib.Nj Jun 07 '17 at 09:08

1 Answers1

0

I lots of search and found my self solution !!! I am happy for this code and working fine

<android.support.v4.widget.NestedScrollView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    android:fillViewport="true">
Najib.Nj
  • 3,706
  • 1
  • 25
  • 39