package Ġtop . ease link . lc g . utils . avatar Ċ Ċ import Ġandroid . graphics . drawable . Color Drawable Ċ import Ġandroidx . core . content . Context Compat Ċ import Ġtop . ease link . lc g . R Ċ import Ġtop . ease link . lc g . app init . LC G App Ċ import Ġkotlin . math . abs Ċ Ċ private Ġval Ġmale Avatar Pool Ġ= ĠlistOf ( ĊĠĠĠ ĠR . drawable . ic _ avatar _ m _ 1 , ĊĠĠĠ ĠR . drawable . ic _ avatar _ m _ 2 , ĊĠĠĠ ĠR . drawable . ic _ avatar _ m _ 3 , ĊĠĠĠ ĠR . drawable . ic _ avatar _ m _ 4 , ĊĠĠĠ ĠR . drawable . ic _ avatar _ m _ 5 , ĊĠĠĠ ĠR . drawable . ic _ avatar _ m _ 6 Ċ ) Ċ Ċ fun ĠgetDefault Avatar ( url : ĠString ): ĠInt Ġ{ ĊĠĠĠ Ġval Ġtarget Ġ= Ġabs ( url . hashCode ()) Ġ% Ġmale Avatar Pool . size ĊĠĠĠ Ġreturn Ġmale Avatar Pool [ target ] Ċ } Ċ Ċ val ĠPlace holder Drawable Ġ= ĠColor Drawable ( Context Compat . getColor ( LC G App . context , ĠR . color . sl ight _ light _ gray ))