Fix Lint Issues #171: Fix numerous errors/warnings (#2537)

This commit is contained in:
Ronan Brigdale 2019-03-10 19:25:35 +01:00 committed by Vivek Maskara
parent d9fa31242f
commit 480c05b2f3
18 changed files with 35 additions and 43 deletions

View file

@ -6,10 +6,11 @@ import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.CardView;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import timber.log.Timber;
/**
* A card view which informs onSwipe events to its child
*/
@ -37,7 +38,7 @@ public abstract class SwipableCardView extends CardView {
this.setOnTouchListener((v, event) -> {
boolean isSwipe = false;
float deltaX = 0.0f;
Log.e("#SwipableCardView#", event.getAction() + "");
Timber.e(event.getAction() + "");
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
x1 = event.getX();