package Ġbr . com . w ak im . mvp _ starter . ui . posts _ list Ċ Ċ import Ġbr . com . w ak im . mvp _ starter . BR Ċ import Ġbr . com . w ak im . mvp _ starter . R Ċ import Ġbr . com . w ak im . mvp _ starter . data . remote . model . Post Ċ import Ġbr . com . w ak im . mvp _ starter . ui . Data Bind Model Ċ import Ġcom . air bnb . e po xy . E po xy Adapter Ċ Ċ class ĠPosts Adapter Ġ: ĠE po xy Adapter () Ġ{ ĊĠĠĠ Ġfun Ġset List ( posts : ĠList < Post >) Ġ{ ĊĠĠĠĠĠĠĠ Ġremove All Models () ĊĠĠĠĠĠĠĠ Ġadd Models ( posts . map Ġ{ ĠData Bind Model < Post >( R . layout . list _ item _ post , ĠBR . post , Ġit ) Ġ}) ĊĠĠĠ Ġ} Ċ }