forked from organicmaps/organicmaps
[android] Changed the parameter name in AdTracker interface
This commit is contained in:
parent
871a8c7920
commit
8c21c5910c
3 changed files with 7 additions and 8 deletions
|
@ -59,18 +59,18 @@ public class DefaultAdTracker implements AdTracker, OnAdCacheModifiedListener
|
|||
}
|
||||
|
||||
@Override
|
||||
public void onRemoved(@NonNull String id)
|
||||
public void onRemoved(@NonNull String bannerId)
|
||||
{
|
||||
mTracks.remove(id);
|
||||
mTracks.remove(bannerId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPut(@NonNull String id)
|
||||
public void onPut(@NonNull String bannerId)
|
||||
{
|
||||
TrackInfo info = mTracks.get(id);
|
||||
TrackInfo info = mTracks.get(bannerId);
|
||||
if (info == null)
|
||||
{
|
||||
mTracks.put(id, new TrackInfo());
|
||||
mTracks.put(bannerId, new TrackInfo());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@ import android.support.annotation.NonNull;
|
|||
|
||||
interface OnAdCacheModifiedListener
|
||||
{
|
||||
void onRemoved(@NonNull String id);
|
||||
void onPut(@NonNull String id);
|
||||
void onRemoved(@NonNull String bannerId);
|
||||
void onPut(@NonNull String bannerId);
|
||||
}
|
||||
|
|
|
@ -285,7 +285,6 @@ public class PlacePageView extends RelativeLayout
|
|||
{
|
||||
if (mBannerController != null)
|
||||
mBannerController.onChangedVisibility(true);
|
||||
|
||||
}
|
||||
|
||||
public void onActivityPause()
|
||||
|
|
Loading…
Add table
Reference in a new issue