View WeakHandler.java
import android.os.Handler;
import android.os.Message;
import java.lang.ref.WeakReference;
/**
* Created by Simar Arora on 29/09/16.
*/
public class WeakHandler<T extends WeakHandler.WeakMessageHandler> extends Handler {