recyclerview button fragment code example
Example: how to add button in recyclerview fragment in kotlin
holder.accept.setOnClickListener {
if (context != null) {
context.supportFragmentManager
.beginTransaction()
.replace(R.id.schoolcontainer, DetailSchoolFragment.newInstance())
.commit()
}
}