package Ġcom . library of alex and ria . cards . view . exp ans ions . ui Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . util . Attribute Set Ċ import Ġcom . library of alex and ria . core . ui . MenuItem View Ċ Ċ class ĠExp ansion Filter MenuItem View ( context : ĠContext , Ġattrs : ĠAttributeSet ?) Ġ: ĊĠĠĠ ĠMenuItem View < Filter View Entity >( context , Ġattrs ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġinitialize ( view Entity : ĠFilter View Entity ) Ġ{ ĊĠĠĠĠĠĠĠ Ġicon ImageView . setImage Drawable ( context . get Drawable ( view Entity . icon )) ĊĠĠĠĠĠĠĠ Ġtitle TextView . text Ġ= Ġcontext . getString ( view Entity . text ) ĊĊĠĠĠĠĠĠĠ Ġt int ( view Entity . icon Color ) ĊĠĠĠ Ġ} Ċ }