去除部分无用类
This commit is contained in:
@@ -110,10 +110,6 @@ public class CustomTypeFilterPopupView extends PartShadowPopupView implements Vi
|
||||
break;
|
||||
|
||||
case R.id.tv_finish:
|
||||
if(!mSelManual && !mSelAuto){
|
||||
ToastUtil.showShort(mContext,mContext.getString(R.string.history_filter_type_toast));
|
||||
return;
|
||||
}
|
||||
if(listener != null){
|
||||
listener.callBack(mSelManual,mSelAuto);
|
||||
this.dismiss();
|
||||
|
||||
@@ -180,11 +180,12 @@ public class TabHistoryFragment extends BaseFragment<TabHistoryFragmentLayoutBin
|
||||
.asCustom(new CustomTypeFilterPopupView(getContext(), new CustomTypeFilterPopupView.OnClickListener() {
|
||||
@Override
|
||||
public void callBack(boolean mSelManual, boolean mSelAuto) {
|
||||
if(mSelManual){
|
||||
if (mSelManual) {
|
||||
mFilterType = 1;
|
||||
}
|
||||
if(mSelAuto){
|
||||
} else if (mSelAuto) {
|
||||
mFilterType = 0;
|
||||
} else {
|
||||
mFilterType = -1;
|
||||
}
|
||||
getWaterHistoryList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user