package Ġcom . example . t usam aker . application ĊĊ Ċ import Ġandroid . content . Context Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . recyclerview . widget . Linear LayoutManager Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . example . t usam aker . R Ċ import Ġcom . example . t usam aker . adapters . Home Events Adapter Ċ import Ġcom . example . t usam aker . data . event List Ċ import Ġorg . k oin . android . ext . android . inject Ċ import Ġorg . k oin . core . K oin Component Ċ Ċ class ĠHome Ġ: ĠFragment (), ĠK oin Component Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠĠĠĠĠ Ġinflater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?, ĠsavedInstanceState : ĠBundle ? ĊĠĠĠ Ġ): ĠView ? Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġview Ġ= Ġinflater . inflate ( R . layout . fragment _ home , Ġcontainer , Ġfalse ) ĊĠĠĠĠĠĠĠ Ġval Ġre cyclerView : ĠRecyclerView Ġ= Ġview . findViewById ( R . id . recycler Events All ) ĊĠĠĠĠĠĠĠ Ġval Ġctx : ĠContext Ġby Ġinject () ĊĊĠĠĠĠĠĠĠ Ġre cyclerView . layout Manager Ġ= ĠLinearLayoutManager ( context ) ĊĠĠĠĠĠĠĠ Ġre cyclerView . adapter Ġ= ĠHome Events Adapter ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġarray ListOf ( event List [ 0 ], Ġevent List [ 1 ], Ġevent List [ 2 ]), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġctx ĊĠĠĠĠĠĠĠ Ġ) ĊĊĊĠĠĠĠĠĠĠ Ġreturn Ġview ĊĠĠĠ Ġ} Ċ } Ċ