We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47c1894 commit 6df58c4Copy full SHA for 6df58c4
app/src/main/java/fr/free/nrw/commons/media/MediaDetailFragment.java
@@ -228,6 +228,9 @@ public void onResume() {
228
}
229
media = detailProvider.getMediaAtPosition(index);
230
231
+ // The displayMediaDetails is called after the scrollView is laid out, the reason
232
+ // for this is that the SimpleDrawee image uses the scrollView's width so as to
233
+ // update the aspect ratio of the view
234
scrollView.post(new Runnable() {
235
@Override
236
public void run() {
0 commit comments