Back to project page android-open-street-map.
The source code is released under:
Apache License
If you think the Android project android-open-street-map listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android.lib.map.osm; /*from w w w.j a v a2 s . co m*/ import android.os.Handler; import android.os.Message; import android.view.View; public class TileHandler extends Handler { public static final int TILE_NOT_LOADED = 10; public static final int TILE_LOADED = 11; public View mView; public TileHandler() { super(); } public TileHandler(View view) { super(); mView = view; } @Override public void handleMessage(final Message msg) { switch (msg.what) { case TILE_LOADED: if (mView != null) mView.invalidate(); break; } } }