Skip to content

Commit

Permalink
1. rm unused resource
Browse files Browse the repository at this point in the history
2. rm unused lib
3. rm unused class
  • Loading branch information
AllenCoder committed Jan 12, 2019
1 parent feb3dce commit 3e13c5b
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 151 deletions.
2 changes: 0 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(path: ':library')
implementation project(':material-spinner-1.0.5')
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
Expand Down
9 changes: 0 additions & 9 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,3 @@
-keepclassmembers public class * extends com.chad.library.adapter.base.BaseViewHolder {
<init>(android.view.View);
}
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}

# for DexGuard only
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
package com.chad.baserecyclerviewadapterhelper.adapter;

import android.text.method.LinkMovementMethod;
import android.widget.ImageView;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.chad.baserecyclerviewadapterhelper.R;
import com.chad.baserecyclerviewadapterhelper.data.DataServer;
import com.chad.baserecyclerviewadapterhelper.entity.Status;
import com.chad.baserecyclerviewadapterhelper.transform.GlideCircleTransform;
import com.chad.baserecyclerviewadapterhelper.util.SpannableStringUtils;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

Expand Down

This file was deleted.

Binary file removed app/src/main/res/mipmap-xhdpi/dress_icon.png
Binary file not shown.
4 changes: 1 addition & 3 deletions app/src/main/res/values-v21/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="toolbar_padding_top">25dp</dimen>
</resources>
<resources></resources>
1 change: 0 additions & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
<dimen name="dp_40">40dp</dimen>

<dimen name="sp_14">14sp</dimen>
<dimen name="toolbar_padding_top">0dp</dimen>
</resources>
3 changes: 0 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string name="app_name">BRVAH</string>
<string name="title_activity_header_and_footer_use">HeaderAndFooterUseActivity</string>
<string name="error">Network error</string>
<string name="network_err">Simulation network error</string>
<string name="empty_network_error">Network error, Click Retry</string>
<string name="empty_no_data">There is no data, Click Retry</string>
Expand Down
7 changes: 0 additions & 7 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@
</style>





<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>

<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>

<style name="bg">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
Expand Down
3 changes: 0 additions & 3 deletions library/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<dimen name="dp_4">4dp</dimen>
<dimen name="dp_10">10dp</dimen>
<dimen name="dp_40">40dp</dimen>
<dimen name="dp_72">72dp</dimen>

<dimen name="sp_12">12sp</dimen>
<dimen name="sp_14">14sp</dimen>
<dimen name="sp_16">16sp</dimen>
</resources>

0 comments on commit 3e13c5b

Please sign in to comment.