package Ġcom . mat vey ev . buy faster . u ic omp onent s . recyclerview Ċ Ċ import Ġandroidx . databinding . Binding Adapter Ċ import Ġandroidx . databinding . Observable List Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . mat vey ev . buy faster . vms . Department VM Ċ Ċ @ Binding Adapter (" items Source ", Ġ" items Layout ", Ġ" parent VM ") Ċ fun ĠRecyclerView . set Items Source ( ĊĠĠĠ Ġold Items : ĠObservable List < Department VM > ?, ĊĠĠĠ Ġold Layout : ĠInt , ĊĠĠĠ Ġold Parent VM : ĠAny ?, ĊĠĠĠ Ġnew Items : ĠObservable List < Department VM >, ĊĠĠĠ Ġnew Layout : ĠInt , ĊĠĠĠ Ġnew Parent VM : ĠAny ) Ġ{ ĊĠĠĠ Ġthis . set Items Source < Department VM >( old Items , Ġold Layout , Ġnew Items , Ġnew Layout , Ġfalse , Ġnew Parent VM ) Ċ }