Rename ListView

This commit is contained in:
neslihanturan 2019-09-26 21:07:14 +03:00
parent 838b4929ea
commit d0310b35b7
3 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@ public interface NearbyParentFragmentContract {
void setBottomSheetDetailsSmaller();
}
interface ListView {
interface NearbyListView {
void updateListFragment(List<Place> placeList);
}

View file

@ -28,7 +28,7 @@ import fr.free.nrw.commons.nearby.Place;
import fr.free.nrw.commons.nearby.mvp.contract.NearbyParentFragmentContract;
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>>() {
}.getType();

View file

@ -33,7 +33,7 @@ public class NearbyParentFragmentPresenter
private NearbyParentFragmentContract.View nearbyParentFragmentView;
private NearbyMapContract.View nearbyMapFragmentView;
private NearbyParentFragmentContract.ListView nearbyListFragmentView;
private NearbyParentFragmentContract.NearbyListView nearbyListFragmentView;
private boolean isNearbyLocked;
private LatLng curLatLng;
@ -48,7 +48,7 @@ public class NearbyParentFragmentPresenter
private LocationServiceManager locationServiceManager;
public NearbyParentFragmentPresenter(NearbyParentFragmentContract.ListView nearbyListFragmentView,
public NearbyParentFragmentPresenter(NearbyParentFragmentContract.NearbyListView nearbyListFragmentView,
NearbyParentFragmentContract.View nearbyParentFragmentView,
NearbyMapContract.View nearbyMapFragmentView,
LocationServiceManager locationServiceManager) {