cara menambahkan tombol dalam fragmen RecyclerView di Kotlin

 holder.accept.setOnClickListener {

            if (context != null) {
                context.supportFragmentManager
                    .beginTransaction()
                    .replace(R.id.schoolcontainer, DetailSchoolFragment.newInstance())
                    .commit()
            }

        }
Zany Zebra