Answer the question
In order to leave comments, you need to log in
How to output random avatar from drawables in ActivityFragment?
Hello everyone, another problem,
there are drawables, which has avatar_1.xml, avatar_2.xml, avatar_3.xml.
How to implement, so that when filling out the form in the fragment, an image is added randomly from this list?
A form with a choice of images, but it is necessary that by itself and by chance.
Output in the snippet
Thank you!!!!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question