package Ġio . nova foundation . nova . feature _ c rowd loan _ impl . presentation . contribute . custom . ac ala . main . select Ċ Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroid . widget . Radio Group Ċ import Ġandroid . widget . TextView Ċ import Ġandroidx . lifecycle . Lifecycle Coroutine Scope Ċ import Ġio . nova foundation . nova . common . utils . add After Ċ import Ġio . nova foundation . nova . common . utils . bind To Ċ import Ġio . nova foundation . nova . common . utils . inflate Child Ċ import Ġio . nova foundation . nova . feature _ c rowd loan _ api . data . repository . Par ach ain Metadata Ċ import Ġio . nova foundation . nova . feature _ c rowd loan _ impl . R Ċ import Ġio . nova foundation . nova . feature _ c rowd loan _ impl . presentation . contribute . custom . C rowd loan Main Flow Features Ċ import Ġio . nova foundation . nova . feature _ c rowd loan _ impl . presentation . contribute . custom . Select Contribut e Custom ization Ċ import Ġio . nova foundation . nova . feature _ c rowd loan _ impl . presentation . contribute . custom . ac ala . main . base . A cal a Main Flow Custom ization Ċ import Ġkotlinx . android . synt hetic . main . fragment _ contribute . view . c rowd loan Contribut e Scroll able Content Ċ import Ġkotlinx . android . synt hetic . main . fragment _ contribute . view . c rowd loan Contribut e Title Ċ Ċ private Ġconst Ġval ĠLE ARN _ TYPES _ LINK Ġ= Ġ" https :// wiki . ac ala . network / ac ala / ac ala - c rowd loan / c rowd loan - event # 3 . 2 - ways - to - part icip ate " Ċ Ċ class ĠA cal a Select Contribut e Custom ization Ġ: ĊĠĠĠ ĠA cal a Main Flow Custom ization < Select Contribut e Custom ization . ViewState >(), ĊĠĠĠ ĠSelect Contribut e Custom ization Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġinject Views ( ĊĠĠĠĠĠĠĠ Ġinto : ĠViewGroup , ĊĠĠĠĠĠĠĠ Ġstate : ĠSelect Contribut e Custom ization . ViewState , ĊĠĠĠĠĠĠĠ Ġscope : ĠLifecycle Coroutine Scope , ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġrequire ( state Ġis ĠA cal a Select Contribut e ViewState ) ĊĊĠĠĠĠĠĠĠ Ġval Ġcontainer Ġ= Ġinto . c rowd loan Contribut e Scroll able Content ĊĊĠĠĠĠĠĠĠ Ġval Ġtype Selector Ġ= Ġcontainer . inflate Child ( R . layout . view _ ac ala _ contribution _ type ) Ġas ĠRadio Group ĊĠĠĠĠĠĠĠ Ġtype Selector . bind To ( state . selected Contribution TypeId Flow , Ġscope ) ĊĊĠĠĠĠĠĠĠ Ġval Ġlearn More Text Ġ= Ġcontainer . inflate Child ( R . layout . view _ ac ala _ learn _ cont ributions ) Ġas ĠTextView ĊĠĠĠĠĠĠĠ Ġlearn More Text . setOnClickListener Ġ{ Ġstate . learn Contribution Types Clicked () Ġ} ĊĊĠĠĠĠĠĠĠ Ġcontainer . add After ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġanchor Ġ= Ġcontainer . c rowd loan Contribut e Title , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnew Views Ġ= ĠlistOf ( type Selector , Ġlearn More Text ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġcreate ViewState ( ĊĠĠĠĠĠĠĠ Ġfeatures : ĠC rowd loan Main Flow Features , ĊĠĠĠĠĠĠĠ Ġpar ach ain Metadata : ĠPar ach ain Metadata , ĊĠĠĠ Ġ): ĠSelect Contribut e Custom ization . ViewState Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠA cal a Select Contribut e ViewState ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbrowser able Ġ= Ġfeatures . browser able , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġscope Ġ= Ġfeatures . coroutine Scope , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġa cal a Cont ributions Info Link Ġ= ĠLE ARN _ TYPES _ LINK ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ