if can't solve, i thin view binding is the end. stay on synthetic, please
On Monday, February 14, 2022 at 10:29:11 AM UTC+7 Abah Adilah wrote:

>
> 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 android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ac3b9f45-e788-49a0-878d-398ec3c6b42an%40googlegroups.com.

Reply via email to