<I had this problem to connect me to the main acti...
# stackoverflow
u
I had this problem to connect me to the main activity: Modifier 'override' is not applicable to 'local function' I have this problem to connect the menu to the main activity: Modifier 'override' is not applicable to 'local function' This is the main activity code: enter code heclass MainActivity : AppCompatActivity() { private lateinit var adapter: Adapter private lateinit var layoutManger:LinearLayoutManager override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) layoutManger = LinearLayoutManager(this,...