package Ġir . me h di y ari . f allery . main . di . component Ċ Ċ import Ġandroidx . fragment . app . Fragment Activity Ċ import Ġir . me h di y ari . f allery . main . di . module . F allery Activity Module ĊĊ Ċ internal Ġclass ĠF allery Activity Component Builder Ġ{ ĊĊĠĠĠ Ġprivate Ġvar Ġf allery Activity : ĠFragment Activity ? Ġ= Ġnull ĊĠĠĠ Ġprivate Ġvar Ġf allery Core Component : ĠF allery Core Component ? Ġ= Ġnull ĊĊĠĠĠ Ġfun Ġplus F allery Activity ( f allery Activity : ĠFragment Activity ): ĠF allery Activity Component Builder Ġ= ĊĠĠĠĠĠĠĠ Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis . f allery Activity Ġ= Ġf allery Activity ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġplus F allery Core Component ( f allery Core Component : ĠF allery Core Component ) Ġ: ĠF allery Activity Component Builder Ġ= Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . f allery Core Component Ġ= Ġf allery Core Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġbuild (): ĠF allery Activity Module Ġ{ ĊĠĠĠĠĠĠĠ Ġrequire ( f allery Activity Ġ!= Ġnull ) Ġ{ Ġ" f allery Activity Ġmust Ġset Ġ" Ġ} ĊĠĠĠĠĠĠĠ Ġrequire ( f allery Core Component Ġ!= Ġnull ) Ġ{ Ġ" f allery Core Component Ġmust Ġset Ġ" Ġ} ĊĠĠĠĠĠĠĠ Ġreturn ĠF allery Activity Module ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġf allery Activity !!. application Context , Ġf allery Activity !! , Ġf allery Core Component !! ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ }