Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

weiyang.su suweya

🎯
Focusing
Block or report user

Report or block suweya

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
@suweya
suweya / MoveViewTouchListener.java
Created Jul 14, 2017 — forked from slightfoot/MoveViewTouchListener.java
Move View Touch Listener Example
View MoveViewTouchListener.java
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
/**
* @author Simon Lightfoot <simon@demondevelopers.com>
*/
public class MoveViewTouchListener
implements View.OnTouchListener
{
@suweya
suweya / OkHttpStack.java
Last active Aug 29, 2015 — forked from bryanstern/OkHttpStack.java
An OkHttp backed HttpStack for Volley
View OkHttpStack.java
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 Circle Internet Financial
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
You can’t perform that action at this time.