mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-10-31 06:32:54 +01:00
Remove testing reflection code trying to disable pull to refresh in Activity List
This commit is contained in:
parent
c41fda5072
commit
26f199a010
@ -31,7 +31,6 @@ import com.github.mikephil.charting.charts.Chart;
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@ -62,14 +61,6 @@ public class ActivityListingChartFragment extends AbstractChartFragment {
|
|||||||
stepListAdapter = new ActivityListingAdapter(getContext());
|
stepListAdapter = new ActivityListingAdapter(getContext());
|
||||||
stepsList.setAdapter(stepListAdapter);
|
stepsList.setAdapter(stepListAdapter);
|
||||||
stepsDateView = rootView.findViewById(R.id.stepsDateView);
|
stepsDateView = rootView.findViewById(R.id.stepsDateView);
|
||||||
LOG.debug("PETR " + getHost());
|
|
||||||
try {
|
|
||||||
getChartsHost().getClass().getMethod("enableSwipeRefresh").invoke(false);
|
|
||||||
} catch (Exception e) {
|
|
||||||
LOG.debug("dsda", e);
|
|
||||||
}
|
|
||||||
//device.getClass().getMethod("cancelBondProcess").invoke(device);
|
|
||||||
|
|
||||||
//refresh();
|
//refresh();
|
||||||
return rootView;
|
return rootView;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user