update handler if looper changed (on rotation)
This commit is contained in:
1 parent
22ab085a2c
commit
ab4b3aebcc
1 file changed
+1
-1
@@ -126,7 +126,7 @@ public class LazyCoverView extends ImageView
|
||||
if (sUiHandler == null) {
|
||||
sUiHandler = new Handler(this);
|
||||
}
|
||||
if (sHandler == null) {
|
||||
if (sHandler == null || sHandler.getLooper().equals(looper) == false) {
|
||||
sHandler = new Handler(looper, this);
|
||||
}
|
||||
// image dimension we are going to cache - we should probably calculate this
|
||||
|
||||
Reference in new issue
Block a user