3 ms·
I just tried it, it works pretty well. You can also ask it to relaunch the activity.
by nohawp 11y ago
I just tried it, it works pretty well. You can also ask it to relaunch the activity.
- ycosynot 11y agoFor some reason, it doesn't work with my radio button text, it doesn't update it, but it works with labels and button texts. Well, maybe it's not stable yet, but it's awesome, and I'm happy that it's there.
- nerdwaller 11y agoI've had hit and miss results so far, sometimes it's great and then a bunch of times it ends up launching the app twice. Perhaps I'm either doing something wrong or I'm not hitting the right use when this works flawlessly. So far, however, hit and miss with little clear reason.
- whatever_dude 11y agoMy hypothesis is that launching the app twice actually means it's crashing the app. When the app is running, and you do an instant run from Android Studio, it will try doing the hot swap. The app crashes and immediately relaunches (and it's the same build). All the while Android Studio is monitoring the app task and waiting for the hot swap to take place. It keeps checking, times out after a few seconds (realizing it didn't update successfully), and then it deploys and launches the new APK, as a last resort. My point is to be careful when testing if you're getting the double launches, because the first time it is launched, it's still the old APK.
- shade23 11y agoIt does not seem to be working for me. It does not reflect logic changes and I thought it was only for UI,however that also had no effect.Am I doing something wrong?