There is a Fragment and on it buttons that need to identify a listener who would open different Activity . For example:
bt_statistics.setOnClickListener { startActivity(Intent(this, StatisticsActivity::class.java)) } I understand that you need to call the Activity method from the fragment, which will launch the Activity , but how?