How would I use all of those, in case I have a ListView and not a ReyclerView ?
AndroidDeveloperLB
11

As of right now, there isn’t a good way to use a ListView with a CoordinatorLayout. However, I don’t think that there are many good reasons to keep using ListView, and migrating a ListView to a RecyclerView isn’t too difficult.

If you really need to use ListView, you could try to create your own ListView that implements NestedScrollingChild, though I firmly believe that switching to RecyclerView will be easier in the long run.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.