org.osmdroid.tileprovider.util.SimpleInvalidationHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-android Show documentation
Show all versions of osmdroid-android Show documentation
An Android library to display OpenStreetMap views.
package org.osmdroid.tileprovider.util;
import org.osmdroid.tileprovider.MapTile;
import android.os.Handler;
import android.os.Message;
import android.view.View;
public class SimpleInvalidationHandler extends Handler {
private final View mView;
public SimpleInvalidationHandler(final View pView) {
super();
mView = pView;
}
@Override
public void handleMessage(final Message msg) {
switch (msg.what) {
case MapTile.MAPTILE_SUCCESS_ID:
mView.invalidate();
break;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy