package Ġcom . jr ask a . github . client . users . ui Ċ Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . TextView Ċ import Ġcom . air bnb . e po xy . E po xy Model Ċ import Ġcom . jr ask a . github . client . users . R Ċ import Ġcom . jr ask a . github . client . users . model . User Stats Ċ import Ġorg . th reet en . bp . format . DateTime Formatter Ċ Ċ internal Ġclass ĠUser Header Model ( private Ġval Ġbasic Stats : ĠUser Stats ) Ġ: ĠE po xy Model < View >() Ġ{ ĊĊĠ Ġoverride Ġfun ĠgetDefault Layout (): ĠInt Ġ{ ĊĠĠĠ Ġreturn ĠR . layout . item _ user _ stats ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġbind ( item View : ĠView ) Ġ{ ĊĠĠĠ ĠitemView . findViewById < TextView >( R . id . user _ detail _ followers _ count ). text Ġ= Ġbasic Stats . followers . toString () ĊĠĠĠ ĠitemView . findViewById < TextView >( R . id . user _ detail _ following _ count ). text Ġ= Ġbasic Stats . following . toString () ĊĠĠĠ ĠitemView . findViewById < TextView >( R . id . user _ detail _ repos _ count ). text Ġ= Ġbasic Stats . public Repos . toString () ĊĊĠĠĠ Ġval Ġjoined Date Text Ġ= ĠJOIN ED _ FORMAT . format ( basic Stats . joined ) ĊĠĠĠ Ġval Ġjoined Text Ġ= ĠitemView . context ĊĠĠĠĠĠ Ġ. getString ( R . string . user _ detail _ joined _ template , Ġjoined Date Text ) ĊĠĠĠ ĠitemView . findViewById < TextView >( R . id . user _ detail _ joined ). text Ġ= Ġjoined Text ĊĠ Ġ} ĊĊĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠ Ġinternal Ġval ĠJOIN ED _ FORMAT Ġ= ĠDateTime Formatter . ISO _ INST ANT ĊĠ Ġ} Ċ } Ċ