Skip to content

Instantly share code, notes, and snippets.

View wei-spring's full-sized avatar
🏠
Working from home

魏春生 wei-spring

🏠
Working from home
View GitHub Profile
@wei-spring
wei-spring / BetterRecyclerView.java
Created September 7, 2016 01:41
Recycler嵌套,横向滑动事件冲突
/**
* Fork from :https://gist.github.com/manidesto/ecccd38787fa8e287a3f18bcd9867189
*
* Recycler嵌套,横向滑动事件冲突,垂直方向列表里面各个子条目可以横向滑动
*
* 解决滑动时候手势冲突
*/
public class BetterRecyclerView extends RecyclerView{
private static final int INVALID_POINTER = -1;
@wei-spring
wei-spring / AES加密解密
Last active August 25, 2016 07:44
AES加密解密
# AES加密解密
import javax.crypto.*;
import java.security.*;
public class Java {
private static SecretKey key = null;
private static Cipher cipher = null;