Skip to content

Commit

Permalink
fix(dependence): remove dependence butterknife and picasso
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Jallu committed Oct 2, 2017
1 parent 1cc9473 commit 842d581
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
4 changes: 0 additions & 4 deletions adapter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,4 @@ dependencies {
// compile "org.jetbrains.kotlin:kotlin-stdlib:1.1.50"
compile "com.android.support:appcompat-v7:$androidSupport"
compile "com.android.support:design:$androidSupport"
// compile 'com.squareup.picasso:picasso:2.5.2'
// compile 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
// compile 'com.jakewharton:butterknife:8.8.1'
// annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
import java.util.HashMap;
import java.util.List;

/**
* @author Maxime Jallu
* @since 26/09/2017
* <p>
* Use this Class for : <br/>
* {DOCUMENTATION}
*/

public class CheckableAdapter<T> extends RecyclerAdapter<T> implements ViewCheckableCallback<T> {

private HashMap<String, Boolean> mCheckedMap = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public abstract class RecyclerViewHolder<T> extends RecyclerView.ViewHolder {
@SuppressLint("NewApi")
public RecyclerViewHolder(View itemView) {
super(itemView);
// ButterKnife.bind(this, itemView);
}

public void initBinding() {
Expand Down Expand Up @@ -97,13 +96,6 @@ protected final void showPicture(ImageView picture, String url) {
if (mPictureDecorator != null) {
mPictureDecorator.showPicture(picture, url);
}
// Picasso.with(picture.getContext())
// .load(url)
// .placeholder(R.drawable.no_image)
// .error(R.drawable.no_image)
// .fit()
// .centerInside()
// .into(picture);
}

protected boolean isBound() {
Expand Down

0 comments on commit 842d581

Please sign in to comment.