07/12/2022, 11:11 AM
how do i get an Array from a different class in Kotlin how to i access my Arraylist from another class i am trying to add two variables to a single position. var nc = findViewById( as String var nt = findViewById( as String if (!nc.isEmpty() || !nt.isEmpty()) { get(noteArray(.add(nc,nt) i am new to kotlin and i don't know java. i think i need to use a getter but i am not sure how do it my arraylist "noteArray always come up as unresolved reference it's in my main class with the code....