mirror of https://github.com/tasks/tasks
Remove ErrorCatchingListView
parent
658c5e2871
commit
636288ca00
@ -1,37 +0,0 @@
|
||||
package com.todoroo.astrid.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.MotionEvent;
|
||||
import android.widget.ListView;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class ErrorCatchingListView extends ListView {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(ErrorCatchingListView.class);
|
||||
|
||||
public ErrorCatchingListView(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public ErrorCatchingListView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
}
|
||||
|
||||
public ErrorCatchingListView(Context context, AttributeSet attrs, int defStyle) {
|
||||
super(context, attrs, defStyle);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent ev) {
|
||||
try {
|
||||
return super.onTouchEvent(ev);
|
||||
} catch (Exception e) {
|
||||
log.error(e.getMessage(), e);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.1 KiB |
Loading…
Reference in New Issue