|
@ -54,7 +54,7 @@ import java.util.LinkedHashMap;
|
54
|
54
|
import okhttp3.Call;
|
55
|
55
|
|
56
|
56
|
public class TotalListFragment extends Fragment implements View.OnClickListener {
|
57
|
|
private TextView tv_notice;
|
|
57
|
private TextView tv_notice,selectQuarter;
|
58
|
58
|
private ListView lv_total;
|
59
|
59
|
|
60
|
60
|
|
|
@ -83,6 +83,7 @@ public class TotalListFragment extends Fragment implements View.OnClickListener
|
83
|
83
|
|
84
|
84
|
tv_notice = (TextView) v.findViewById(R.id.tv_notice);
|
85
|
85
|
lv_total = (ListView) v.findViewById(R.id.lv_total);
|
|
86
|
selectQuarter = (TextView) v.findViewById(R.id.selectQuarter);
|
86
|
87
|
layoutQuarter = (LinearLayout) v.findViewById(R.id.layoutQuarter);
|
87
|
88
|
layoutQuarter.setOnClickListener(this);
|
88
|
89
|
}
|
|
@ -241,6 +242,7 @@ public class TotalListFragment extends Fragment implements View.OnClickListener
|
241
|
242
|
QuarterAdapter adapter = new QuarterAdapter(requireContext());
|
242
|
243
|
adapter.setItemOnClick((posistion,name) -> {
|
243
|
244
|
mQuarter=String.valueOf( posistion + 1);
|
|
245
|
selectQuarter.setText(name);
|
244
|
246
|
getData(null);
|
245
|
247
|
mPopupWindow.dismiss();
|
246
|
248
|
});
|