Closed retinxl closed 2 years ago
Should be able to change the XML dynamically from Kotlin function
https://stackoverflow.com/questions/2974862/changing-imageview-source https://developer.android.com/reference/android/widget/ImageView#setImageResource(int) https://developer.android.com/reference/android/graphics/drawable/Drawable#createFromPath(java.lang.String)
Another example of changing the XML dynamically https://abhiandroid.com/ui/imageview
template for drawables to be called