Back to project page TileView.
The source code is released under:
MIT License
If you think the Android project TileView 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.qozix.tileview.tiles; /* w ww.j a v a2 s. c o m*/ import java.lang.ref.WeakReference; import android.os.Handler; import android.os.Message; public class TileRenderHandler extends Handler { private final WeakReference<TileManager> reference; public TileRenderHandler( TileManager tm ) { super(); reference = new WeakReference<TileManager>( tm ); } @Override public final void handleMessage( Message message ) { final TileManager tileManager = reference.get(); if ( tileManager != null ) { tileManager.renderTiles(); } } }