All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.osmdroid.tileprovider.util.SimpleInvalidationHandler Maven / Gradle / Ivy

There is a newer version: 6.1.20
Show newest version
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