There is a code, I chose a color, saved it with List colors; then I say to the five elements take the last five colors and apply it to the five elements on the screen That is, elements should be redrawn, but in fact they are redrawn only after onResume. How to make instant changes? Thank.
1 answer
To redraw elements, try using the invalidate method.
- Thank you Ramil, it all worked. - Germes1989
|