package Ġfi . jar a . bird watcher . screens . common Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . fragment . app . Fragment Factory Ċ import Ġfi . jar a . bird watcher . screens . add observation . Add Observation Fragment Ċ import Ġfi . jar a . bird watcher . screens . observation details . Observation Details Fragment Ċ import Ġfi . jar a . bird watcher . screens . observations list . Ob servations List Fragment Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Provider Ċ Ċ class ĠB ird watcher Fragment Factory Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġlist Frag Provider : ĠProvider < Ob servations List Fragment >, ĊĠĠĠ Ġprivate Ġval Ġobservation Details Frag Provider : ĠProvider < Observation Details Fragment >, ĊĠĠĠ Ġprivate Ġval Ġadd Observation Frag Provider : ĠProvider < Add Observation Fragment > Ċ ) Ġ: ĠFragment Factory () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġinstantiate ( class Loader : ĠClassLoader , ĠclassName : ĠString ): ĠFragment Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwhen Ġ( className ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠOb servations List Fragment :: class . java . canonical Name Ġ-> Ġlist Frag Provider . get () ĊĠĠĠĠĠĠĠĠĠĠĠ ĠOb servation Details Fragment :: class . java . canonical Name Ġ-> Ġobservation Details Frag Provider . get () ĊĠĠĠĠĠĠĠĠĠĠĠ ĠAdd Observation Fragment :: class . java . canonical Name Ġ-> Ġadd Observation Frag Provider . get () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġsuper . instantiate ( class Loader , ĠclassName ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }