diff --git a/application/src/org/yaaic/adapter/ConversationPagerAdapter.java b/application/src/org/yaaic/adapter/ConversationPagerAdapter.java index fd7fd1d..db789b4 100644 --- a/application/src/org/yaaic/adapter/ConversationPagerAdapter.java +++ b/application/src/org/yaaic/adapter/ConversationPagerAdapter.java @@ -33,14 +33,13 @@ import android.support.v4.view.ViewPager; import android.view.View; import com.viewpagerindicator.TitlePageIndicator; -import com.viewpagerindicator.TitleProvider; /** * Adapter for displaying a pager of conversations. * * @author Sebastian Kaspari */ -public class ConversationPagerAdapter extends PagerAdapter implements TitleProvider +public class ConversationPagerAdapter extends PagerAdapter { private final Server server; private LinkedList conversations; @@ -267,7 +266,7 @@ public class ConversationPagerAdapter extends PagerAdapter implements TitleProvi * Get the title for the given position. Used by the {@link TitlePageIndicator}. */ @Override - public String getTitle(int position) + public String getPageTitle(int position) { Conversation conversation = getItem(position); diff --git a/libs/ViewPagerIndicator/AndroidManifest.xml b/libs/ViewPagerIndicator/AndroidManifest.xml index 0febb49..19e0a5e 100644 --- a/libs/ViewPagerIndicator/AndroidManifest.xml +++ b/libs/ViewPagerIndicator/AndroidManifest.xml @@ -2,8 +2,8 @@ + android:versionCode="50" + android:versionName="2.3.1"> diff --git a/libs/ViewPagerIndicator/checkstyle.xml b/libs/ViewPagerIndicator/checkstyle.xml deleted file mode 100644 index 5c3e7da..0000000 --- a/libs/ViewPagerIndicator/checkstyle.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/ViewPagerIndicator/pom.xml b/libs/ViewPagerIndicator/pom.xml index 74398f8..a6e0cc1 100644 --- a/libs/ViewPagerIndicator/pom.xml +++ b/libs/ViewPagerIndicator/pom.xml @@ -11,7 +11,7 @@ com.viewpagerindicator parent - 2.2.3 + 2.3.1 ../pom.xml @@ -23,8 +23,8 @@ - android.support - compatibility-v4 + com.google.android + support-v4 provided @@ -39,19 +39,11 @@ true - - org.apache.maven.plugins - maven-javadoc-plugin - - true - - - org.apache.maven.plugins maven-checkstyle-plugin - ${project.basedir}/checkstyle.xml + ../checkstyle.xml diff --git a/libs/ViewPagerIndicator/res/layout/vpi__tab.xml b/libs/ViewPagerIndicator/res/layout/vpi__tab.xml deleted file mode 100644 index 980bec4..0000000 --- a/libs/ViewPagerIndicator/res/layout/vpi__tab.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/libs/ViewPagerIndicator/res/values/vpi__attrs.xml b/libs/ViewPagerIndicator/res/values/vpi__attrs.xml index 8ea49aa..8ff0893 100644 --- a/libs/ViewPagerIndicator/res/values/vpi__attrs.xml +++ b/libs/ViewPagerIndicator/res/values/vpi__attrs.xml @@ -1,6 +1,6 @@ - - + + - - + - - + + + + + + + - + - - - - + @@ -48,7 +50,22 @@ - + + + + + + + + + + + + + + + + @@ -71,16 +88,27 @@ - + - + - + + + + + + + + + + + + diff --git a/libs/ViewPagerIndicator/res/values/vpi__colors.xml b/libs/ViewPagerIndicator/res/values/vpi__colors.xml index c0d958f..62ca607 100644 --- a/libs/ViewPagerIndicator/res/values/vpi__colors.xml +++ b/libs/ViewPagerIndicator/res/values/vpi__colors.xml @@ -1,5 +1,5 @@ -