Cómo agregar el botón en RecyclerView Fragment en Kotlin

 holder.accept.setOnClickListener {

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

        }
Zany Zebra