Skip to content

Instantly share code, notes, and snippets.

trity trity1993

Block or report user

Report or block trity1993

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@trity1993
trity1993 / CommonPageAdapter
Created Jun 19, 2016
对viewpager添加view的通用适配器
View CommonPageAdapter
public class CommonPageAdapter extends PagerAdapter implements IListAdapter<View> {
private static final String TAG = CommonPageAdapter.class.getName();
private List<View> mViews;
private int mChildCount=0;
public CommonPageAdapter() {
}
@trity1993
trity1993 / ActivitySplitAnimationUtil.java
Last active Jun 7, 2016
to chanage https://github.com/Udinic/ActivitySplitAnimation; 添加finish anim+更改获取rootview;注意设置主题为Translucent
View ActivitySplitAnimationUtil.java
package cc.trity.sun.utils;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.animation.TimeInterpolator;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
You can’t perform that action at this time.