package Ġcom . y ous fi . hay ati ine App . ui . fragment . add Ċ Ċ import Ġandroidx . databinding . Observable ArrayList Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . y ous fi . hay ati ine . ui . base . Base ViewModel Ċ import Ġcom . y ous fi . hay ati ine App . R Ċ import Ġcom . y ous fi . hay ati ine App . data . entities . Category Ċ import Ġcom . y ous fi . hay ati ine App . data . entities . F avor is Ċ import Ġcom . y ous fi . hay ati ine App . data . entities . Sub Category Ċ Ċ class ĠAdd ViewModel Ġ: ĠBase ViewModel < Add Navigator >() Ġ{ ĊĠĠĠ Ġvar Ġlist Category Ġ= ĠObservable ArrayList < Category >() ĊĠĠĠ Ġvar Ġlist sub Category Ġ= ĠObservable ArrayList < Sub Category >() ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġlist Category . add ( Category (" V Ã©t ement ", true )) ĊĠĠĠĠĠĠĠ Ġlist Category . add ( Category (" Ch a uss ures ", false )) ĊĠĠĠĠĠĠĠ Ġlist Category . add ( Category (" S ac ", false )) ĊĠĠĠĠĠĠĠ Ġlist Category . add ( Category (" Access o ires ", false )) ĊĠĠĠĠĠĠĠ Ġlist Category . add ( Category (" Rob es ", false )) ĊĊĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" Rob es ", R . drawable . item _ 2 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" ko ft an ", R . drawable . item _ 2 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" J upe ", R . drawable . trace _ 4 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" P ule ", R . drawable . trace _ 3 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" Short e ", R . drawable . trace _ 2 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" P ants ", R . drawable . trace _ 1 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" Chem ise ", R . drawable . item _ 3 )) ĊĠĠĠĠĠĠĠ Ġlist sub Category . add ( Sub Category (" S ocks ", R . drawable . item _ 4 )) ĊĊĠĠĠ Ġ} ĊĊĊ Ċ }