<How can I pass the data from RecyclerView (Produc...
# stackoverflow
u
How can I pass the data from RecyclerView (ProductActivity) to DetailActivity? In this project, I have to make a RecyclerView that will fetch the Firebase data. When someone clicks on any particular item in the RecyclerView, I want to open DetailActivity with the same data fetched from the Firebase. I know this is easy and can be done using intent.putExtra but I'm new here in Kotlin. Help me with the solution, please. Below I'm attaching my code of ProductActivity.kt. class ProductActivity() : AppCompatActivity(), ProductAdapter.OnItemClickListener { private var...