Scroll top related streams when loading
This commit is contained in:
parent
a1be03543c
commit
1e53d6bfab
|
@ -1262,6 +1262,11 @@ public class VideoDetailFragment
|
||||||
// Only auto play in the first open
|
// Only auto play in the first open
|
||||||
autoPlayEnabled = false;
|
autoPlayEnabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final ViewParent related = relatedStreamRootLayout.getParent();
|
||||||
|
if (related instanceof ScrollView) {
|
||||||
|
((ScrollView) related).scrollTo(0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue