第N+1次提交

This commit is contained in:
xuhuixiang
2025-04-23 16:40:08 +08:00
parent 68cff5463a
commit 52a6c062c5
3 changed files with 15 additions and 15 deletions

View File

@@ -39,6 +39,7 @@ public class MyWalletActivity extends BaseActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
super.onCreate(savedInstanceState);
viewBinding = ActivityMywalletBinding.inflate(getLayoutInflater());

View File

@@ -97,7 +97,7 @@ public class WalletInfoFragment extends BaseFragment {
List<TaskBean> taskBeans = null;
int loc = 0;
FragmentWalletInfoBinding binding;
String dataString;
// String dataString;
public static WalletInfoFragment newInstance(int status1, int type, String billBean) {
Bundle bundle = new Bundle();
@@ -159,8 +159,8 @@ public class WalletInfoFragment extends BaseFragment {
initList();
initRefreshLayout();
dataString = DataUtils.getCurrentTimeMonth(System.currentTimeMillis());
binding.typeTv1.setText(dataString);
time = DataUtils.getCurrentTimeMonth(System.currentTimeMillis());
binding.typeTv1.setText(time);
binding.typeTv1.setOnClickListener(v -> showTimerPicker());
}
String data = DataUtils.getCurrentTimeType(System.currentTimeMillis());
@@ -172,12 +172,14 @@ public class WalletInfoFragment extends BaseFragment {
CustomDatePickerNew1 mTimerPicker =
new CustomDatePickerNew1(
getActivity(),
new CustomDatePicker.Callback() {
@Override
public void onTimeSelected(long timestamp) {
binding.typeTv1.setText(DataUtils.getCurrentTimeMonth(timestamp));
data = DataUtils.getCurrentTimeType(timestamp);
}
timestamp -> {
time = DataUtils.getCurrentTimeMonth(timestamp);
binding.typeTv1.setText(time);
data = DataUtils.getCurrentTimeType(timestamp);
binding.nodateLy.setVisibility(View.GONE);
binding.refreshLayout.setVisibility(View.VISIBLE);
binding.refreshLayout.autoRefresh();
// getStatistics();
},
beginTime,
endTime, data);

View File

@@ -199,12 +199,9 @@ public class WalletInfoRedActivity extends BaseActivity {
CustomDatePickerNew1 mTimerPicker =
new CustomDatePickerNew1(
this,
new CustomDatePicker.Callback() {
@Override
public void onTimeSelected(long timestamp) {
viewBinding.typeTv1.setText(DataUtils.getCurrentTimeMonth(timestamp));
data = DataUtils.getCurrentTimeType(timestamp);
}
timestamp -> {
viewBinding.typeTv1.setText(DataUtils.getCurrentTimeMonth(timestamp));
data = DataUtils.getCurrentTimeType(timestamp);
},
beginTime,
endTime, data);