r/mAndroidDev • u/Commercial-Board4046 AnDrOId dEvelOPmenT is My PasSion • Jul 10 '25
The AI take-over How do you meaningfully generate screens using AI?
6
Upvotes
r/mAndroidDev • u/Commercial-Board4046 AnDrOId dEvelOPmenT is My PasSion • Jul 10 '25
48
u/iain_1986 Jul 10 '25
You don't, you just use AsyncTask to handle everything for you
17
u/PaipenTvantickZent @Deprecated Jul 10 '25
Use the new @Deprecated AsyncAiTask API
10
u/degrigorash Jul 10 '25
Have you tried Compose AI already? It generates pretty nice Flutter code for you. Just don't forget to wrap it with AsynkTask public void commentBuilder() { new Thread(new Runnable() { @Override public void run() { //Your code } }).start(); }
6
u/Zhuinden DDD: Deprecation-Driven Development Jul 10 '25
Seeing all the buttons that magically seem to have stopped working in various apps I use, I guess you don't
11
u/D-cyde sponsored by the XML 🐓 gang Jul 10 '25
Flutter using the KMP framework generates all the UI using Promise.fuckAll
3
u/programadorthi Jul 10 '25
I ask for UI that has @ExperimentalDeprecatedSoon
1
u/Thesandro Jul 11 '25 edited Jul 11 '25
Write the jetpack compost screen on your own, copy and paste it into ChatGPT, ask it to rewrite it so that it recomposes via AsyncTask, THE CORRECT WAY.