I have class A activity with layout A. and i need create a new class with
all logic/model same with class A, but with different layout.
Normally without view binding i have
open class A: AppCompatActivity() {
open fun getLayout() = R.layout.a
.....
....
}
class B: A() {
override fun getLayout() = R.layout.b
}
Hot to solve that problem using view binding feature? As i know view
binding generate class for every layout
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/feb74633-4706-4103-a279-f336ee9bd0den%40googlegroups.com.