thanks!
# android
a
thanks!
a
No problem! I'll be up a little longer, feel free to DM me with any general Android questions that might not be Kotlin specific.
🙄 4
a
Appreciate it!
g
also you can replace explicit constuctor with main constrructor:
Copy code
class ImageGridAdapter(
   context: Context,
   private val resources: Array<Resources>
) : ArrayAdapter<Resources>(context, R.layout.art_piece_entry, resources) {
   private val inflater = LayoutInflater.from(context)
}
👍 1
a
Will do! Especially since I don't need to worry about overriding the context now.