mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-13 12:35:06 -05:00
Remove ViewPagerIndicator dependency.
This commit is contained in:
parent
33560b4913
commit
396d6cec0a
@ -20,11 +20,8 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile 'com.android.support:support-v4:22.0.0'
|
||||
compile 'com.android.support:cardview-v7:22.0.0'
|
||||
compile 'com.android.support:recyclerview-v7:22.0.0'
|
||||
compile 'com.android.support:appcompat-v7:22.0.0'
|
||||
|
||||
compile 'com.viewpagerindicator:library:2.4.1@aar'
|
||||
}
|
||||
|
@ -25,8 +25,6 @@ import android.support.v4.view.PagerAdapter;
|
||||
import android.support.v4.view.ViewPager;
|
||||
import android.view.View;
|
||||
|
||||
import com.viewpagerindicator.TitlePageIndicator;
|
||||
|
||||
import org.yaaic.listener.MessageClickListener;
|
||||
import org.yaaic.model.Conversation;
|
||||
import org.yaaic.model.Server;
|
||||
@ -162,7 +160,6 @@ public class ConversationPagerAdapter extends PagerAdapter
|
||||
/**
|
||||
* Get an item by the channel's name
|
||||
*
|
||||
* @param channel
|
||||
* @return The item
|
||||
*/
|
||||
public int getPositionByName(String name)
|
||||
@ -264,7 +261,7 @@ public class ConversationPagerAdapter extends PagerAdapter
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the title for the given position. Used by the {@link TitlePageIndicator}.
|
||||
* Get the title for the given position.
|
||||
*/
|
||||
@Override
|
||||
public String getPageTitle(int position)
|
||||
|
@ -14,8 +14,6 @@ buildscript {
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url "http://dl.bintray.com/populov/maven" }
|
||||
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user