mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Rename ListView
This commit is contained in:
parent
838b4929ea
commit
d0310b35b7
3 changed files with 4 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ public interface NearbyParentFragmentContract {
|
||||||
void setBottomSheetDetailsSmaller();
|
void setBottomSheetDetailsSmaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ListView {
|
interface NearbyListView {
|
||||||
void updateListFragment(List<Place> placeList);
|
void updateListFragment(List<Place> placeList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import fr.free.nrw.commons.nearby.Place;
|
||||||
import fr.free.nrw.commons.nearby.mvp.contract.NearbyParentFragmentContract;
|
import fr.free.nrw.commons.nearby.mvp.contract.NearbyParentFragmentContract;
|
||||||
import timber.log.Timber;
|
import timber.log.Timber;
|
||||||
|
|
||||||
public class NearbyListFragment extends CommonsDaggerSupportFragment implements NearbyParentFragmentContract.ListView {
|
public class NearbyListFragment extends CommonsDaggerSupportFragment implements NearbyParentFragmentContract.NearbyListView {
|
||||||
|
|
||||||
private static final Type LIST_TYPE = new TypeToken<List<Place>>() {
|
private static final Type LIST_TYPE = new TypeToken<List<Place>>() {
|
||||||
}.getType();
|
}.getType();
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ public class NearbyParentFragmentPresenter
|
||||||
|
|
||||||
private NearbyParentFragmentContract.View nearbyParentFragmentView;
|
private NearbyParentFragmentContract.View nearbyParentFragmentView;
|
||||||
private NearbyMapContract.View nearbyMapFragmentView;
|
private NearbyMapContract.View nearbyMapFragmentView;
|
||||||
private NearbyParentFragmentContract.ListView nearbyListFragmentView;
|
private NearbyParentFragmentContract.NearbyListView nearbyListFragmentView;
|
||||||
private boolean isNearbyLocked;
|
private boolean isNearbyLocked;
|
||||||
private LatLng curLatLng;
|
private LatLng curLatLng;
|
||||||
|
|
||||||
|
|
@ -48,7 +48,7 @@ public class NearbyParentFragmentPresenter
|
||||||
|
|
||||||
private LocationServiceManager locationServiceManager;
|
private LocationServiceManager locationServiceManager;
|
||||||
|
|
||||||
public NearbyParentFragmentPresenter(NearbyParentFragmentContract.ListView nearbyListFragmentView,
|
public NearbyParentFragmentPresenter(NearbyParentFragmentContract.NearbyListView nearbyListFragmentView,
|
||||||
NearbyParentFragmentContract.View nearbyParentFragmentView,
|
NearbyParentFragmentContract.View nearbyParentFragmentView,
|
||||||
NearbyMapContract.View nearbyMapFragmentView,
|
NearbyMapContract.View nearbyMapFragmentView,
|
||||||
LocationServiceManager locationServiceManager) {
|
LocationServiceManager locationServiceManager) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue