Issue
val rvMaps = findViewById<RecyclerView>(R.id.rvMaps)
// Set layout manager on the recycler
rvMaps.layoutManager = LinearLayoutManager(this)
How can I solve the problem?
Solution
Sorrry now it's fine I gave the Constraint Layout the id rvMaps and not the recyclerview
Answered By - FleetAdmiralJakob
Answer Checked By - Mildred Charles (JavaFixing Admin)