Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
peng8350 committed Oct 7, 2017
1 parent f3a214b commit 5c36764
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 295 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ android {

dependencies {
compile project(':library')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.android.support:appcompat-v7:23.0.1'
}
Empty file modified gradlew
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ android {
}

dependencies {

provided 'com.android.support:support-v4:24.2.1'
provided 'com.android.support:support-v4:23.0.1'
compile 'com.nineoldandroids:library:2.4.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ public interface BadgeDismissListener {
* TabItem徽章消失的回调
*/
void onDismiss(int position);


}
5 changes: 0 additions & 5 deletions library/src/main/java/com/jpeng/jptabbar/DensityUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
*/
public class DensityUtils {




public static int dp2sp(Context context, float dipValue) {
float pxValue = dp2px(context, dipValue);
return px2sp(context, pxValue);
Expand Down Expand Up @@ -41,6 +38,4 @@ public static int sp2px(@NonNull Context context, float spValue) {
return (int) (spValue * fontScale);
}



}
Loading

0 comments on commit 5c36764

Please sign in to comment.