Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #58 from zeoflow/ScrollingPagerIndicator.Orientati…
Browse files Browse the repository at this point in the history
…on-Policy

added RetentionPolicy.Source to the ScrollingPagerIndicator
  • Loading branch information
teogor authored Feb 23, 2021
2 parents 42e84d7 + 2b6c8ad commit 15116c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ ext {
buildToolsVersion = '30.0.1'
minSdkVersion = 21
targetSdkVersion = 30
versionCode = 8
versionName = "2.1.0"
versionCode = 10
versionName = "2.2.0"

androidx = [
annotation : 'androidx.annotation:annotation:1.0.1',
Expand Down
4 changes: 2 additions & 2 deletions material-elements/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ POM_NAME=MaterialElements
POM_ARTIFACT_ID=material-elements
POM_PACKAGING=aar

VERSION_NAME=2.1.0
VERSION_CODE=8
VERSION_NAME=2.2.0
VERSION_CODE=10
GROUP=com.zeoflow

POM_DESCRIPTION=Material Elements help developers execute Material Elements. Developed by a core team of engineers and UX designers, these elements enable a reliable development workflow to build beautiful and functional Android apps.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

import com.zeoflow.material.elements.R;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
* @author Nikita Olifer
*/
Expand Down Expand Up @@ -737,6 +740,7 @@ private void setDotScaleAt(int index, float scale)
}
}

@Retention(RetentionPolicy.SOURCE)
@IntDef({RecyclerView.HORIZONTAL, RecyclerView.VERTICAL})
public @interface Orientation
{
Expand Down

0 comments on commit 15116c0

Please sign in to comment.