package Ġme . ab unk a . single app module . feature 1 Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . support . v 4 . app . Fragment Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġkotlinx . android . synt hetic . main . fragment _ a .* Ċ import Ġme . ab unk a . single app module . R Ċ import Ġme . ab unk a . single app module . feature 2 . Activity F Ċ Ċ class ĠFragment A : ĠFragment () Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġnew Instance () Ġ= ĠFragment A () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( in flater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?, ĠsavedInstanceState : ĠBundle ?): ĠView ? Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinflater . inflate ( R . layout . fragment _ a , Ġcontainer , Ġfalse ) ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġgo To B . setOnClickListener Ġ{ ĠstartActivity ( Activity B . get Intent ( require Context ())) Ġ} ĊĠĠĠĠĠĠĠ Ġgo To F . setOnClickListener Ġ{ ĠstartActivity ( Activity F . get Intent ( require Context ())) Ġ} ĊĠĠĠ Ġ} Ċ }