經安全檢測,此網站為安全網站,請放心前往原始網址!

android - Can't create handler inside thread that has not called Looper.prepare() - Stack Overflow

I ran into the same problem, and here is how I fixed it: private final class UIHandler extends Handler { public static final int DISPLAY_UI_TOAST = 0; public static final int DISPLAY_UI_DIALOG = 1; public UIHandler(Looper looper) { super(looper ...

stackoverflow.com

網址安全性掃描由 google 提供