/* Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 1 9 . ĠP ise y ĠSen . Ċ Ġ* Ġ@ Created Ġby Ġp ise ys en Ġon Ġ 6 / 1 3 / 1 9 Ġ 2 : 1 7 ĠPM Ċ Ġ*/ Ċ Ċ package Ġcom . p ise y . kotlin recyclerview like play store . ui . main . about Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġandroidx . lifecycle . ViewModel Providers Ċ import Ġcom . p ise y . kotlin recyclerview like play store . R Ċ import Ġcom . p ise y . kotlin recyclerview like play store . ui . component . fragment . Base Fragment Ċ import Ġdagger . android . support . Android Support Injection Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠAbout Fragment Ġ: ĠBase Fragment () Ġ{ ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar ĠviewModel Factory : ĠViewModel Provider . Factory ĊĊĠĠĠ Ġprivate Ġval ĠviewModel Ġ: ĠAbout ViewModel Ġby Ġlazy Ġ{ ĊĠĠĠĠĠĠĠ ĠViewModel Providers . of ( this , viewModel Factory ). get ( About ViewModel :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Layout Id () Ġ= ĠR . layout . about _ fragment ĊĊĠĠĠ Ġoverride Ġfun Ġon Attach ( context : ĠContext ?) Ġ{ ĊĠĠĠĠĠĠĠ ĠAndroid Support Injection . inject ( this ) ĊĠĠĠĠĠĠĠ Ġsuper . on Attach ( context ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Activity Created ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Activity Created ( savedInstanceState ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ