Skip to content

Commit

Permalink
updated appcompat reference, removed redundant comment in attrs, added
Browse files Browse the repository at this point in the history
…@nonnull annotation.
  • Loading branch information
MrBIMC committed Jun 13, 2015
1 parent 513f83d commit e397efd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.OvalShape;
import android.preference.Preference;
import android.support.annotation.NonNull;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.AttributeSet;
Expand Down Expand Up @@ -83,7 +84,7 @@ private void setValuesFromXml(AttributeSet attrs) {
}

@Override
public void onBindView(View view) {
public void onBindView(@NonNull View view) {
super.onBindView(view);

mSeekBar = (SeekBar)view.findViewById(R.id.seekbar);
Expand Down
2 changes: 0 additions & 2 deletions library/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
<attr name="maxValue" format="reference|integer"/>
<attr name="interval" format="reference|integer"/>
<attr name="measurementUnit" format="reference|string"/>

<!--<attr name="mp_colorAccent" format="reference|color"/>-->
</declare-styleable>
</resources>
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
}

dependencies {
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:appcompat-v7:22.2.0'
compile project(':library')

// for your projects use:
Expand Down

0 comments on commit e397efd

Please sign in to comment.