When I'm trying to use a RecyclerView inside a SlidingActivity I get this error:
Caused by: java.lang.ClassNotFoundException: android.view.RecyclerView
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.view.LayoutInflater.createView(LayoutInflater.java:552)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:643)
I added library project to my project and I tried adding recyclerview gradle dependency but I get the same error.
how can I fix it?
When I'm trying to use a RecyclerView inside a SlidingActivity I get this error:
I added library project to my project and I tried adding recyclerview gradle dependency but I get the same error. how can I fix it?