Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Rovkin committed Feb 16, 2015
1 parent cfac446 commit dfd1ce7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="appcompat-v7-21.0.3" level="project" />
<orderEntry type="library" exported="" name="easyrecycler-1.0.5" level="project" />
<orderEntry type="library" exported="" name="easyrecycler-1.0.6" level="project" />
<orderEntry type="library" exported="" name="support-annotations-21.0.3" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.3" level="project" />
<orderEntry type="library" exported="" name="cardview-v7-21.0.3" level="project" />
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.android.support:cardview-v7:21.0.3'
compile 'pro.useit.recyclerview:easyrecycler:1.0.5'
compile 'pro.useit.recyclerview:easyrecycler:1.0.6'

}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected void onCreate(Bundle savedInstanceState)
recyclerView.setItemAnimator(new DefaultItemAnimator());

recyclerView.setAdapter(adapter);
onParallaxScroll(0, 0);
onParallaxScroll(0);
}

private RecyclerView.LayoutManager getLayoutManager()
Expand All @@ -49,7 +49,7 @@ private RecyclerView.LayoutManager getLayoutManager()
}

@Override
public void onParallaxScroll(final float percentage, final float offset)
public void onParallaxScroll(final float percentage)
{
toolbar.getBackground().setAlpha((int) (255 * percentage));
}
Expand Down
2 changes: 1 addition & 1 deletion easyrecycler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'com.github.dcendents.android-maven'

def siteUrl = "https://github.com/rovkinmax/easyrecycler"
def gitUrl = 'https://github.com/rovkinmax/easyrecycler.git'
def vCode = 5
def vCode = 6
def vName = '1.0'
version = vName + '.' + vCode
group = "pro.useit.recyclerview"
Expand Down

0 comments on commit dfd1ce7

Please sign in to comment.