package Ġua . rail ian . alia . alerts Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . fragment . app . Fragment Ċ Ċ open Ġclass ĠAli a Context Alerts ( val Ġcontext : ĠContext ) Ċ Ċ operator Ġfun ĠAli a Alerts . get ( context : ĠContext ) Ġ= ĠAli a Context Alerts ( context ) Ċ Ċ open Ġclass ĠAli a Activity Alerts ( val Ġactivity : ĠAppCompatActivity ) Ġ: ĠAli a Context Alerts ( activity ) Ċ Ċ operator Ġfun ĠAli a Alerts . get ( activity : ĠAppCompatActivity ) Ġ= ĠAli a Activity Alerts ( activity ) Ċ Ċ open Ġclass ĠAli a Fragment Alerts ( val Ġfragment : ĠFragment ) Ġ: ĠAli a Context Alerts ( fragment . require Context ()) Ċ Ċ operator Ġfun ĠAli a Alerts . get ( fragment : ĠFragment ) Ġ= ĠAli a Fragment Alerts ( fragment )