package Ġub b . the sis . david . mon ument al . common Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġcom . google . android . gms . auth . api . signin . Google SignIn Client Ċ import Ġub b . the sis . david . domain .* Ċ import Ġub b . the sis . david . mon ument al . view . Host Activity Ċ import Ġub b . the sis . david . mon ument al . view . Fragment Host Actions Ċ Ċ abstract Ġclass ĠBase Fragment Ġ: ĠFragment () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġon Activity Created ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Activity Created ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġif Ġ( uses Navigation Drawer ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ( activity Ġas ĠFragment Host Actions ). enable User Navigation () ĊĠĠĠĠĠĠĠ Ġelse ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ( activity Ġas ĠFragment Host Actions ). disable User Navigation () ĊĠĠĠĠĠĠĠ Ġ( activity Ġas ĠFragment Host Actions ). setTitle ( title ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ// ĠFragment Ġdisplay Ġoptions ĊĠĠĠ Ġprotected Ġabstract Ġfun Ġuses Navigation Drawer (): ĠBoolean ĊĠĠĠ Ġprotected Ġabstract Ġfun Ġtitle (): ĠString ? ĊĊĠĠĠ Ġ// ĠProgress Ġoverlay Ġactions ĊĠĠĠ Ġprotected Ġfun Ġdisplay Progress () Ġ= Ġ( activity Ġas ĠFragment Host Actions ). display Progress () ĊĠĠĠ Ġprotected Ġfun Ġhide Progress () Ġ= Ġ( activity Ġas ĠFragment Host Actions ). hide Progress () ĊĊĠĠĠ Ġ// ĠClient Ġprovider Ġactions ĊĠĠĠ Ġprotected Ġfun Ġget UserId (): ĠString ? Ġ= Ġ( activity Ġas ĠHost Activity ). getUserId () ĊĠĠĠ Ġprotected Ġfun Ġget Beacon Manager (): ĠBe acon Manager Ġ= Ġ( activity Ġas ĠClient Provider ). get Beacon Manager () ĊĠĠĠ Ġprotected Ġfun Ġget Google SignIn Client (): ĠGoogle SignIn Client Ġ= Ġ( activity Ġas ĠClient Provider ). get SignIn Client () ĊĠĠĠ Ġprotected Ġfun Ġget DataSource (): ĠCloud DataSource Ġ= Ġ( activity Ġas ĠClient Provider ). getDataSource () ĊĠĠĠ Ġprotected Ġfun ĠgetImage Storage (): ĠImage Storage Ġ= Ġ( activity Ġas ĠClient Provider ). getImage Storage () ĊĠĠĠ Ġprotected Ġfun Ġget Land mark Detector (): ĠLand mark Detector Ġ= Ġ( activity Ġas ĠClient Provider ). get Land mark Detector () ĊĠĠĠ Ġprotected Ġfun ĠgetUser Authenticator (): ĠUser Authenticator Ġ= Ġ( activity Ġas ĠClient Provider ). getUser Authenticator () Ċ Ċ }