This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.support.v4.view.ViewPager; | |
import android.view.ViewTreeObserver; | |
/** | |
* A class that can be added to a viewTreeObserver for ViewPager's in order to determine | |
* when a smoothScroll transition is completed by viewPager.setCurrentItem(); | |
*/ | |
public class PagerScrollListener implements ViewTreeObserver.OnScrollChangedListener { | |
private int scrollX; | |
private int totalChange = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cinemagraph; | |
import android.graphics.Matrix; | |
import android.support.v4.view.ViewPager; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.FrameLayout; | |
import android.widget.ImageView; | |
import android.widget.RelativeLayout; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.simplelisp; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
public class SimpleLisp { | |
//(+ 3 (+ 3 2) (+ 4 5)) |
NewerOlder