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() { open 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 android-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/5371879a-2af5-4f12-ac65-1873f06c80afn%40googlegroups.com.