Skip to content

Instantly share code, notes, and snippets.

View boxcounter's full-sized avatar

Alex Lee boxcounter

View GitHub Profile
@boxcounter
boxcounter / ForegroundDraweeView.java
Last active January 18, 2016 00:26
add ripple effect to SimpleDraweeView
package com.unnoo.quan.views;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.util.AttributeSet;
1 VOID SehTest()
2 {
3 __try
4 {
5 ExRaiseStatus();
6 }
7 __except(ExRaiseStatus(), EXCEPTION_CONTINUE_SEARCH) // EXCEPT_FILTER_1
8 { // EXCEPT_HANDLER_1
9 }
10 }