fix possible issue with detail activity transitions
This commit is contained in:
parent
1b27f3afbc
commit
ac91b8663e
2 changed files with 2 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ public class AlbumDetailActivity extends AbsSlidingMusicPanelActivity implements
|
||||||
.listener(new RequestListener<Object, BitmapPaletteWrapper>() {
|
.listener(new RequestListener<Object, BitmapPaletteWrapper>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onException(Exception e, Object model, Target<BitmapPaletteWrapper> target, boolean isFirstResource) {
|
public boolean onException(Exception e, Object model, Target<BitmapPaletteWrapper> target, boolean isFirstResource) {
|
||||||
|
if (Build.VERSION.SDK_INT > 21) startPostponedEnterTransition();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@ public class ArtistDetailActivity extends AbsSlidingMusicPanelActivity implement
|
||||||
.listener(new RequestListener<Object, BitmapPaletteWrapper>() {
|
.listener(new RequestListener<Object, BitmapPaletteWrapper>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onException(Exception e, Object model, Target<BitmapPaletteWrapper> target, boolean isFirstResource) {
|
public boolean onException(Exception e, Object model, Target<BitmapPaletteWrapper> target, boolean isFirstResource) {
|
||||||
|
if (Build.VERSION.SDK_INT > 21) startPostponedEnterTransition();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue