My compile and target sdk is 24 and the preference support library is 24.2.0.
Roney Thomas
1

You are right.

Seems like they have changed the id in one of the new revisions of the support library. I was on 23.4.0 (required id was R.id.list_container according to the source code) and now I’m on 24.2.0 (required id is android.R.id.list_container according to the source code).

Android Studio says the new id requires API 24, but it also works on older APIs.

Btw, I have published my answer as Part 4 of my tutorial.

One clap, two clap, three clap, forty?

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