Hong
06/05/2018, 6:22 PMimport kotlinx.android.synthetic.main.my_view_1.view.*
import kotlinx.android.synthetic.main.my_view_2.view.*
import kotlinx.android.synthetic.main.card_view.view.*
Doru N.
06/05/2018, 7:29 PMHong
06/05/2018, 7:32 PMsindrenm
06/06/2018, 5:21 AMtextViewProfileUsername
.Doru N.
06/06/2018, 5:52 AMsindrenm
06/06/2018, 6:08 AM<TextView id="@+id/usernameTextView" />
in both _my_view_1.xml_ and in _my_view_2.xml_, as long as both of them are `TextView`s, I believe you can import from whichever you want. 🤔ViewHolder
, you'll access the view from itemView
anyway, right? So it's essentially which view itemView
refers to that matters.