第N+1次提交
This commit is contained in:
@@ -39,6 +39,7 @@ public class MyWalletActivity extends BaseActivity {
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||||
|
|
||||||
|
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
|
||||||
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
viewBinding = ActivityMywalletBinding.inflate(getLayoutInflater());
|
viewBinding = ActivityMywalletBinding.inflate(getLayoutInflater());
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ public class WalletInfoFragment extends BaseFragment {
|
|||||||
List<TaskBean> taskBeans = null;
|
List<TaskBean> taskBeans = null;
|
||||||
int loc = 0;
|
int loc = 0;
|
||||||
FragmentWalletInfoBinding binding;
|
FragmentWalletInfoBinding binding;
|
||||||
String dataString;
|
// String dataString;
|
||||||
|
|
||||||
public static WalletInfoFragment newInstance(int status1, int type, String billBean) {
|
public static WalletInfoFragment newInstance(int status1, int type, String billBean) {
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
@@ -159,8 +159,8 @@ public class WalletInfoFragment extends BaseFragment {
|
|||||||
initList();
|
initList();
|
||||||
initRefreshLayout();
|
initRefreshLayout();
|
||||||
|
|
||||||
dataString = DataUtils.getCurrentTimeMonth(System.currentTimeMillis());
|
time = DataUtils.getCurrentTimeMonth(System.currentTimeMillis());
|
||||||
binding.typeTv1.setText(dataString);
|
binding.typeTv1.setText(time);
|
||||||
binding.typeTv1.setOnClickListener(v -> showTimerPicker());
|
binding.typeTv1.setOnClickListener(v -> showTimerPicker());
|
||||||
}
|
}
|
||||||
String data = DataUtils.getCurrentTimeType(System.currentTimeMillis());
|
String data = DataUtils.getCurrentTimeType(System.currentTimeMillis());
|
||||||
@@ -172,12 +172,14 @@ public class WalletInfoFragment extends BaseFragment {
|
|||||||
CustomDatePickerNew1 mTimerPicker =
|
CustomDatePickerNew1 mTimerPicker =
|
||||||
new CustomDatePickerNew1(
|
new CustomDatePickerNew1(
|
||||||
getActivity(),
|
getActivity(),
|
||||||
new CustomDatePicker.Callback() {
|
timestamp -> {
|
||||||
@Override
|
time = DataUtils.getCurrentTimeMonth(timestamp);
|
||||||
public void onTimeSelected(long timestamp) {
|
binding.typeTv1.setText(time);
|
||||||
binding.typeTv1.setText(DataUtils.getCurrentTimeMonth(timestamp));
|
data = DataUtils.getCurrentTimeType(timestamp);
|
||||||
data = DataUtils.getCurrentTimeType(timestamp);
|
binding.nodateLy.setVisibility(View.GONE);
|
||||||
}
|
binding.refreshLayout.setVisibility(View.VISIBLE);
|
||||||
|
binding.refreshLayout.autoRefresh();
|
||||||
|
// getStatistics();
|
||||||
},
|
},
|
||||||
beginTime,
|
beginTime,
|
||||||
endTime, data);
|
endTime, data);
|
||||||
|
|||||||
@@ -199,12 +199,9 @@ public class WalletInfoRedActivity extends BaseActivity {
|
|||||||
CustomDatePickerNew1 mTimerPicker =
|
CustomDatePickerNew1 mTimerPicker =
|
||||||
new CustomDatePickerNew1(
|
new CustomDatePickerNew1(
|
||||||
this,
|
this,
|
||||||
new CustomDatePicker.Callback() {
|
timestamp -> {
|
||||||
@Override
|
viewBinding.typeTv1.setText(DataUtils.getCurrentTimeMonth(timestamp));
|
||||||
public void onTimeSelected(long timestamp) {
|
data = DataUtils.getCurrentTimeType(timestamp);
|
||||||
viewBinding.typeTv1.setText(DataUtils.getCurrentTimeMonth(timestamp));
|
|
||||||
data = DataUtils.getCurrentTimeType(timestamp);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
beginTime,
|
beginTime,
|
||||||
endTime, data);
|
endTime, data);
|
||||||
|
|||||||
Reference in New Issue
Block a user