Skip to content

Commit

Permalink
Update ButterKnife.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Jul 16, 2016
1 parent 3a9b96b commit dd7b8ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,20 @@ android {
}
}

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
apply plugin: 'android-apt'

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.jakewharton:butterknife:8.2.1'
apt 'com.jakewharton:butterknife-compiler:8.2.1'
compile project(':library')
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

import org.chromium.customtabsclient.CustomTabsActivityHelper;

import butterknife.Bind;
import butterknife.BindColor;
import butterknife.BindView;
import butterknife.ButterKnife;
import me.zhanghai.android.customtabshelper.CustomTabsHelperFragment;

Expand Down Expand Up @@ -47,7 +47,7 @@ public void openUri(Activity activity, Uri uri) {
@BindColor(R.color.colorPrimary)
int mColorPrimary;

@Bind(R.id.view_on_github)
@BindView(R.id.view_on_github)
Button mViewOnGitHubButton;

private CustomTabsHelperFragment mCustomTabsHelperFragment;
Expand Down

0 comments on commit dd7b8ce

Please sign in to comment.