package Ġorg . trust note . super wallet . debug Ċ Ċ import Ġandroid . support . v 7 . widget . Linear LayoutManager Ċ import Ġandroid . support . v 7 . widget . RecyclerView Ċ import Ġorg . trust note . super wallet . R Ċ import Ġorg . trust note . super wallet . u iframe work . Fragment Base Ċ import Ġorg . trust note . super wallet . debug . Settings Data Factory . make Settings Ċ Ċ class ĠFragment Me Debug Ġ: ĠFragment Base () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġget Layout Id (): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠR . layout . f _ me _ debug ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġvar Ġadapter : ĠSettings Adapter ? Ġ= Ġnull ĊĊĊĠĠĠ Ġoverride Ġfun Ġupdate UI () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġre cyclerView : ĠRecyclerView Ġ= Ġm Root View ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. findViewById < RecyclerView >( R . id . me _ list ) ĊĠĠĠĠĠĠĠ Ġ// re cyclerView . addItem Decoration ( Simple Divider Item Decoration ( m Root View . context )) ĊĠĠĠĠĠĠĠ Ġre cyclerView . layout Manager Ġ= ĠLinearLayoutManager ( activity ) ĊĊĠĠĠĠĠĠĠ Ġadapter Ġ= ĠSettings Adapter ( context , Ġmake Settings ()) ĊĊĠĠĠĠĠĠĠ Ġre cyclerView . adapter Ġ= Ġadapter ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ// TODO : Ġsave Ġthe Ġadapter 's Ġstate Ġfor Ġrestore . Ċ Ċ } ĊĊ