package Ġcom . cold 0 . cri er . social . ui . screens čĊč Ċ import Ġandroidx . compose . foundation . layout . Box č Ċ import Ġandroidx . compose . foundation . layout . Padding Values č Ċ import Ġandroidx . compose . foundation . layout . fill MaxSize č Ċ import Ġandroidx . compose . foundation . layout . padding č Ċ import Ġandroidx . compose . foundation . lazy . Lazy Column č Ċ import Ġandroidx . compose . foundation . lazy . items č Ċ import Ġandroidx . compose . foundation . lazy . remember Lazy List State č Ċ import Ġandroidx . compose . material . Divider č Ċ import Ġandroidx . compose . runtime . Composable č Ċ import Ġandroidx . compose . ui . Modifier č Ċ import Ġcom . cold 0 . cri er . social . Main ViewModel č Ċ import Ġcom . cold 0 . cri er . social . data . Dummy Data . getUser From UID č Ċ import Ġcom . cold 0 . cri er . social . model . Post č Ċ import Ġcom . cold 0 . cri er . social . model . User č Ċ import Ġcom . cold 0 . cri er . social . ui . components . Post Layout čĊčĊč Ċ @ Composable č Ċ fun ĠHome Screen ( padding : ĠPadding Values Ġ= ĠPadding Values (), Ġpost List : ĠList < Post >, Ġuser List : ĠList < User >, ĠviewModel : ĠMain ViewModel ) Ġ{ čĊ ĉ val Ġlazy List State Ġ= Ġremember Lazy List State () čĊčĊ ĉ Box ( čĊĉ ĉ Modifier čĊĉĉ ĉ . fill MaxSize () čĊĉĉ ĉ . padding ( padding ) čĊ ĉ ) Ġ{ čĊĉ ĉ Lazy Column ( state Ġ= Ġlazy List State ) Ġ{ čĊĉĉ ĉ items ( post List ) Ġ{ Ġpost Ġ-> čĊĉĉĉ ĉ Post Layout ( post , Ġuser List . getUser From UID ( post . user UID ), ĠviewModel ) čĊĉĉĉ ĉ Divider () čĊĉĉ ĉ } čĊĉ ĉ } čĊ ĉ } č Ċ }