So my code simply makes a list of CardViews using RecyclerView. Upon running my code i kept getting a weird error claiming there was an error in my xml. After tinkering for
You should add the RecyclerView in the XML in this way:
Hope it helps!