package Ġcom . ur mw sk . common . pop ulator Ċ Ċ import Ġcom . ur mw sk . common . db . DB Shopping List Ċ import Ġcom . ur mw sk . common . model . Shopping ListModel Ċ Ċ class ĠShop ping ListModel Pop ulator Ġ: ĠPop ulator < DB Shopping List , ĠShop ping ListModel > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġpopulate ( s : ĠDB Shopping List ): ĠShop ping ListModel Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShop ping ListModel ( s . id , Ġs . title , Ġs . added Date , Ġs . elements . map Ġ{ ĠShop ping Element Model Pop ulator (). populate ( it ) Ġ}) ĊĠĠĠ Ġ} Ċ Ċ }