Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Support to Android x #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ultraviewpager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ android {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-v4:23.1.1@aar'
compile 'com.android.support:recyclerview-v7:23.1.1@aar'
compile 'androidx.legacy:legacy-support-v4:1.0.0@aar'
compile 'androidx.recyclerview:recyclerview:1.0.0@aar'
implementation 'androidx.viewpager:viewpager:1.0.0'
implementation 'com.android.support:appcompat-v7'
}

File deployConfig = rootProject.file('jcenterInstall.gradle')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
import android.graphics.Bitmap;
import android.graphics.Point;
import android.os.Build;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseIntArray;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;

/**
* Created by mikeafc on 15/10/26.<br>
* UltraViewPager is a super extension for ViewPager.<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@

import android.database.DataSetObserver;
import android.os.Parcelable;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.RecyclerView;

import androidx.recyclerview.widget.RecyclerView;
import androidx.viewpager.widget.PagerAdapter;

import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import java.util.HashMap;
import java.util.Map;

/**
* Created by mikeafc on 15/11/25.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;

import androidx.viewpager.widget.ViewPager;

/**
* Created by mikeafc on 15/11/25.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
package com.tmall.ultraviewpager;

import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;

import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;

import com.tmall.ultraviewpager.transformer.UltraVerticalTransformer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@

package com.tmall.ultraviewpager.transformer;

import android.support.v4.view.ViewPager;
import android.view.View;

import androidx.viewpager.widget.ViewPager;

/**
* Created by mikeafc on 15/12/3.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@

package com.tmall.ultraviewpager.transformer;

import android.support.v4.view.ViewPager;
import android.view.View;

import androidx.viewpager.widget.ViewPager;

/**
* Created by mikeafc on 15/12/3.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@

package com.tmall.ultraviewpager.transformer;

import android.support.v4.view.ViewPager;
import android.view.View;

import androidx.viewpager.widget.ViewPager;

/**
* Created by mikeafc on 15/11/26.
*/
Expand Down