package Ġcom . th ic apps . art book . ui . fragments Ċ Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . fragment . app . Fragment Factory Ċ import Ġcom . bump tech . glide . Request Manager Ċ import Ġcom . th ic apps . art book . adapter . Art Recycler Adapter Ċ import Ġcom . th ic apps . art book . adapter . Image Recycler Adapter Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠArt Fragment Factory Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġart Recycler Adapter Ġ: ĠArt Recycler Adapter , ĊĠĠĠ Ġprivate Ġval Ġimage Recycler Adapter : ĠImage Recycler Adapter , ĊĠĠĠ Ġprivate Ġval Ġg lide : Request Manager Ċ ) Ġ: ĠFragment Factory () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġinstantiate ( class Loader : ĠClassLoader , ĠclassName : ĠString ): ĠFragment Ġ{ ĊĊĠĠĠĠĠĠĠ Ġreturn Ġwhen ( className ){ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFragment Ar ts :: class . java . name Ġ-> ĠFragment Ar ts ( art Recycler Adapter ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFragment Image Api :: class . java . name Ġ-> ĠFragment Image Api ( image Recycler Adapter ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFragment Details :: class . java . name Ġ-> ĠFragment Details ( glide ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġsuper . instantiate ( class Loader , ĠclassName ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }