Android View Extension for Elements

Hi,

Just found this: https://kotlinlang.org/docs/tutorials/android-plugin.html

Can Elements support something like that as well? It’s useful not just for Android but also for iOS, making the view reference automatically accessible from the code, reducing calling of findViewById() on Android and @IBOutlet on Cocoa.

Thank you.

-Bee

Looks like this essentially this automatically generates a partial class based on whats in the XML/R files? we could do that, yes. in fact, we have considered that in the past but just never got around to investigating it. i’ll log an issue for research.

1 Like

Thanks, logged as bugs://77948