fixed NPE in soundcloud
This commit is contained in:
parent
c9b938ae55
commit
646698f1ed
|
@ -111,7 +111,7 @@ public class RelatedVideosFragment extends BaseListInfoFragment<RelatedStreamInf
|
||||||
@Override
|
@Override
|
||||||
public void showLoading() {
|
public void showLoading() {
|
||||||
super.showLoading();
|
super.showLoading();
|
||||||
headerRootLayout.setVisibility(View.INVISIBLE);
|
if(null != headerRootLayout) headerRootLayout.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -119,7 +119,7 @@ public class RelatedVideosFragment extends BaseListInfoFragment<RelatedStreamInf
|
||||||
|
|
||||||
super.handleResult(result);
|
super.handleResult(result);
|
||||||
|
|
||||||
headerRootLayout.setVisibility(View.VISIBLE);
|
if(null != headerRootLayout) headerRootLayout.setVisibility(View.VISIBLE);
|
||||||
AnimationUtils.slideUp(getView(),120, 96, 0.06f);
|
AnimationUtils.slideUp(getView(),120, 96, 0.06f);
|
||||||
|
|
||||||
if (!result.getErrors().isEmpty()) {
|
if (!result.getErrors().isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue