Moved adapter setup to onViewCreated, to prevent crash

This commit is contained in:
misaochan 2016-08-25 18:56:39 +12:00
parent b7d0e6e725
commit d62fd565b6
4 changed files with 16 additions and 3 deletions

View file

@ -3,9 +3,11 @@
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment android:name="fr.free.nrw.commons.nearby.NearbyListFragment"
android:id="@+id/container"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent" />
</LinearLayout>

View file

@ -9,5 +9,5 @@
android:id="@+id/listview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>