Draw something first on the onDraw of a customized view
If I say setBackGroundResource(), onDraw doesn't work So I can't update my screen...
What should I do?
android
If the purpose is to call the onDraw() function, call the invalidate()
function of the View class. For a detailed description of the function, search for the link below and related keywords.
https://developer.android.com/reference/android/view/View.html#invalidate()
545 GDB gets version error when attempting to debug with the Presense SDK (IDE)
758 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
554 PHP ssh2_scp_send fails to send files as intended
551 Who developed the "avformat-59.dll" that comes with FFmpeg?
552 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.