Skip to content

Commit

Permalink
[FUNC] Edit gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
Chutaux Robin committed Sep 16, 2014
1 parent 3d0e1fb commit c2b9981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.jakewharton:butterknife:5.1.2'
}

apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
import android.view.animation.Transformation;
import android.widget.RelativeLayout;

import butterknife.ButterKnife;

public class ExpandableLayout extends RelativeLayout
{
private Boolean isAnimationRunning = false;
Expand Down Expand Up @@ -65,7 +63,6 @@ private void init(final Context context, AttributeSet attrs)
final TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.ExpandableLayout);
final int headerID = typedArray.getResourceId(R.styleable.ExpandableLayout_headerLayout, -1);
final int contentID = typedArray.getResourceId(R.styleable.ExpandableLayout_contentLayout, -1);
ButterKnife.inject(rootView);

if (headerID == -1 || contentID == -1)
throw new IllegalArgumentException("HeaderLayout and ContentLayout cannot be null!");
Expand Down

0 comments on commit c2b9981

Please sign in to comment.