mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Make NearbyListFragment extend ListFragment
This commit is contained in:
parent
e2d3f65aef
commit
7d99c93a00
1 changed files with 6 additions and 2 deletions
|
|
@ -3,18 +3,22 @@ package fr.free.nrw.commons.nearby;
|
|||
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.ListFragment;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import fr.free.nrw.commons.R;
|
||||
|
||||
public class NearbyListFragment extends Fragment {
|
||||
public class NearbyListFragment extends ListFragment {
|
||||
|
||||
private LatLng mLatestLocation;
|
||||
private int mImageSize;
|
||||
private boolean mItemClicked;
|
||||
|
||||
private static final String TAG = "NearbyListFragment";
|
||||
|
||||
public NearbyListFragment() {
|
||||
}
|
||||
|
||||
|
|
@ -22,7 +26,7 @@ public class NearbyListFragment extends Fragment {
|
|||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
|
||||
|
||||
Log.d(TAG, "NearbyListFragment created");
|
||||
|
||||
View view = inflater.inflate(R.layout.fragment_nearby, container, false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue