package Ġio . m ange l . issue manager . activities Ċ Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . ProgressBar Ċ import Ġio . m ange l . issue manager . services . Loading Service Ċ Ċ abstract Ġclass ĠAbstract Loading ViewModel Ġ: ĠLoading Service . Loading Indicator Ġ{ ĊĠĠĠ Ġprotected Ġabstract Ġfun Ġget Loading Indicator () Ġ: ĠProgress Bar ĊĊĠĠĠ Ġoverride Ġfun Ġshow In determinate Progress () Ġ{ ĊĠĠĠĠĠĠĠ Ġshow Progress Indicator () ĊĠĠĠĠĠĠĠ Ġget Loading Indicator (). isIn determinate Ġ= Ġtrue ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġshow Determin ate Progress ( progress : ĠInt , Ġmax : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġget Loading Indicator (). isIn determinate Ġ= Ġfalse ĊĠĠĠĠĠĠĠ Ġshow Progress Indicator () ĊĊĠĠĠĠĠĠĠ Ġget Loading Indicator (). max Ġ= Ġmax ĊĠĠĠĠĠĠĠ Ġget Loading Indicator (). progress Ġ= Ġprogress ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġhide Progress Indicator () Ġ{ ĊĠĠĠĠĠĠĠ Ġget Loading Indicator (). visibility Ġ= ĠView . GONE ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġopen Ġfun Ġshow Progress Indicator () Ġ{ ĊĠĠĠĠĠĠĠ Ġget Loading Indicator (). visibility Ġ= ĠView . VISIBLE ĊĠĠĠ Ġ} Ċ }