• android算法实现房贷计算器


    说明:最近碰到一个需求,用算法手写一个房贷计算器,包括等额本金和等额本息,花了一天实现了这个功能,源码全部贴出来了,计算公式也在代码里,需要请自取

    icon:
    在这里插入图片描述

    step1:

    package com.example.myapplication;
    
    
    import android.view.View;
    
    import androidx.recyclerview.widget.RecyclerView;
    
    /**
     * Created by kee on 2017/12/25.
     */
    
    public abstract class BaseRecyclerViewAdapter<VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH> implements View.OnClickListener, View.OnLongClickListener {
    
        private OnItemClickListener onItemClickListener;
        private OnItemLongClickListener onItemLongClickListener;
    
        @Override
        public void onBindViewHolder(VH holder, int position) {
            holder.itemView.setTag(position);
            holder.itemView.setOnClickListener(this);
            holder.itemView.setOnLongClickListener(this);
        }
    
        @Override
        public void onClick(View v) {
            if (onItemClickListener != null) {
                onItemClickListener.onItemClick((Integer) v.getTag());
            }
        }
    
        @Override
        public boolean onLongClick(View v) {
            if (onItemLongClickListener != null) {
                return onItemLongClickListener.onLongClick((Integer) v.getTag());
            }
            return false;
        }
    
        public void setOnItemClickListener(OnItemClickListener onItemClickListener) {
            this.onItemClickListener = onItemClickListener;
        }
    
        public void setOnItemLongClickListener(OnItemLongClickListener onItemLongClickListener) {
            this.onItemLongClickListener = onItemLongClickListener;
        }
    
        public interface OnItemClickListener {
            void onItemClick(int position);
        }
    
        public interface OnItemLongClickListener {
            boolean onLongClick(int position);
        }
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55

    step2:

    package com.example.myapplication;
    
    import android.content.Context;
    import android.view.LayoutInflater;
    import android.view.View;
    import android.view.ViewGroup;
    import android.widget.TextView;
    import java.util.List;
    import androidx.recyclerview.widget.RecyclerView;
    
    /**
     * groups
     * Created by kee on 2017/8/18.
     */
    
    public class GroupInfoAdapter extends BaseRecyclerViewAdapter<GroupInfoAdapter.ViewHolder> {
    
        private Context mContext;
        private List<LoanBean> mGroups;
        private boolean enable;
    
        public GroupInfoAdapter(Context context, List<LoanBean> groups) {
            this.mContext = context;
            this.mGroups = groups;
        }
    
        @Override
        public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
            View itemView = LayoutInflater.from(mContext).inflate(R.layout.item_device_group, parent, false);
            ViewHolder holder = new ViewHolder(itemView);
            holder.tv_id = (TextView) itemView.findViewById(R.id.tv_id);
            holder.tv_all = (TextView) itemView.findViewById(R.id.tv_all);
            holder.tv_year_factor = (TextView) itemView.findViewById(R.id.tv_year_factor);
            holder.tv_month_factor = (TextView) itemView.findViewById(R.id.tv_month_factor);
            holder.tv_year_int = (TextView) itemView.findViewById(R.id.tv_year_int);
            holder.tv_month_int = (TextView) itemView.findViewById(R.id.tv_month_int);
            holder.tv_li_month = (TextView) itemView.findViewById(R.id.tv_li_month);
            holder.tv_ben_month = (TextView) itemView.findViewById(R.id.tv_ben_month);
            holder.tv_all_month = (TextView) itemView.findViewById(R.id.tv_all_month);
            holder.tv_java_money = (TextView) itemView.findViewById(R.id.tv_java_money);
            holder.tv_remain_money = (TextView) itemView.findViewById(R.id.tv_remain_money);
            holder.tv_time = (TextView) itemView.findViewById(R.id.tv_time);
            holder.tv_all_money = (TextView) itemView.findViewById(R.id.tv_all_money);
    
            return holder;
        }
    
        @Override
        public int getItemCount() {
            return mGroups == null ? 0 : mGroups.size();
        }
    
        @Override
        public void onBindViewHolder(ViewHolder holder, int position) {
            super.onBindViewHolder(holder, position);
            LoanBean group = mGroups.get(position);
            holder.tv_id.setText(String.valueOf(group.getId()));
            holder.tv_all.setText(String.format("%.2f", group.getAll()));
            holder.tv_year_factor.setText(String.format("%.3f", group.getYearFactor()));
            holder.tv_month_factor.setText(String.format("%.3f", group.getMonthFactor()));
            holder.tv_year_int.setText(String.format("%.2f", group.getYearInt()));
            holder.tv_month_int.setText(String.format("%.2f", group.getMonthInt()));
            holder.tv_li_month.setText(String.format("%.2f", group.getLiMonth()));
            holder.tv_ben_month.setText(String.format("%.2f", group.getBenMonth()));
            holder.tv_all_month.setText(String.format("%.2f", group.getAllMonth()));
            holder.tv_remain_money.setText(String.format("%.2f", group.getRemainMoney()));
            holder.tv_java_money.setText(String.format("%.2f", group.getJavaMoney()));
            holder.tv_time.setText(group.getTime(group.getYear(),group.getMonth(),group.getDay()));
            holder.tv_all_money.setText(String.format("%.2f", group.getAllMoney()));
    
        }
    
        class ViewHolder extends RecyclerView.ViewHolder {
            TextView tv_id, tv_all, tv_year_factor,
                    tv_month_factor, tv_year_int, tv_month_int,
                    tv_li_month, tv_ben_month, tv_all_month,
                    tv_remain_money, tv_java_money,tv_time,tv_all_money;
            public ViewHolder(View itemView) {
                super(itemView);
            }
        }
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83

    step3:

    package com.example.myapplication;
    
    import android.os.Bundle;
    import android.view.View;
    import android.widget.Button;
    import android.widget.EditText;
    
    import androidx.annotation.Nullable;
    import androidx.appcompat.app.AppCompatActivity;
    import androidx.core.widget.NestedScrollView;
    import androidx.fragment.app.FragmentActivity;
    import androidx.recyclerview.widget.LinearLayoutManager;
    import androidx.recyclerview.widget.RecyclerView;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    
    public class HelloActivity extends FragmentActivity {
        double all = 0;
        double yearFactor = 0;
        double monthFactor = 0;
        double yearInt = 0;
        double monthInt = 0;
        double liMonth = 0;
        double benMonth = 0;
        double allMonth = 0;
        double remainMoney = 0;
        double javaMoney = 0;
        private HashMap<Integer, LoanBean> map;
        private GroupInfoAdapter mAdapter;
        private RecyclerView rv_group;
        private List<LoanBean> list;
        private EditText et_year_factor;
        private EditText et_all;
        private EditText et_year_int;
        private Button btn_search, btn_search2;
        private EditText et_year;
        private EditText et_month;
        private EditText et_day;
    
    
        @Override
        protected void onCreate(@Nullable Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
            map = new HashMap<>();
            list = new ArrayList<>();
            all = 1000000;
            yearFactor = 0.06;
            monthFactor = yearFactor / 12;
            yearInt = 30;
            monthInt = yearInt * 12;
            liMonth = remainMoney * monthFactor;
            benMonth = remainMoney / monthInt;
            allMonth = liMonth + benMonth;
            remainMoney = all - javaMoney;
            for (int i = 0; i < monthInt; i++) {
                map.put(i, new LoanBean(i, all, ((monthInt+1)*all*monthFactor)/2+all,yearFactor, monthFactor, yearInt, monthInt,
                        (all - ((remainMoney / monthInt) * (i + 1))) * monthFactor,
                        remainMoney / monthInt,
                        (all - ((remainMoney / monthInt) * (i + 1))) * monthFactor + remainMoney / monthInt,
                        all - ((remainMoney / monthInt) * (i + 1)),
                        (remainMoney / monthInt) * (i + 1),
                        (i + 8) / 12 + 2022,
                        (i + 8) % 12,
                        9));
            }
            System.out.println(map);
            if (!list.isEmpty()) {
                list.clear();
            }
            Iterator<Integer> iter = map.keySet().iterator();
            while (iter.hasNext()) {
                list.add(map.get(iter.next()));
            }
            rv_group = findViewById(R.id.rv_group);
            et_year_factor = findViewById(R.id.et_year_factor);
            et_all = findViewById(R.id.et_all);
            et_year_int = findViewById(R.id.rt_year_int);
            btn_search = findViewById(R.id.btn_search);
            btn_search2 = findViewById(R.id.btn_search2);
    
            et_year = findViewById(R.id.et_year);
            et_month = findViewById(R.id.et_month);
            et_day = findViewById(R.id.et_day);
    
            mAdapter = new GroupInfoAdapter(HelloActivity.this, list);
            rv_group.setLayoutManager(new LinearLayoutManager(HelloActivity.this));
            rv_group.setAdapter(mAdapter);
    
            btn_search.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    String etYearFactorString = et_year_factor.getText().toString();
                    String etAllString = et_all.getText().toString();
                    String etYearIntString = et_year_int.getText().toString();
                    String currentYear = et_year.getText().toString();
                    String currentMonth = et_month.getText().toString();
                    String currentDay = et_day.getText().toString();
                    all = Double.parseDouble(etAllString) * 10000;
                    yearFactor = Double.parseDouble(etYearFactorString) / 100;
                    monthFactor = yearFactor / 12;
                    yearInt = Double.parseDouble(etYearIntString);
                    monthInt = yearInt * 12;
                    liMonth = remainMoney * monthFactor;
                    benMonth = remainMoney / monthInt;
                    allMonth = liMonth + benMonth;
                    remainMoney = all - javaMoney;
                    for (int i = 0; i < monthInt; i++) {
                        map.put(i, new LoanBean(i, all, ((monthInt+1)*all*monthFactor)/2+all,yearFactor, monthFactor, yearInt,
                                monthInt, (all - ((remainMoney / monthInt) * (i + 1))) * monthFactor, remainMoney / monthInt,
                                (all - ((remainMoney / monthInt) * (i + 1))) * monthFactor + remainMoney / monthInt,
                                all - ((remainMoney / monthInt) * (i + 1)),
                                (remainMoney / monthInt) * (i + 1),
                                (i + Integer.parseInt(currentMonth)) / 12 + Integer.parseInt(currentYear),
                                (i + Integer.parseInt(currentMonth)) % 12,
                                Integer.parseInt(currentDay)));
                    }
                    System.out.println(map);
                    if (!list.isEmpty()) {
                        list.clear();
                    }
                    Iterator<Integer> iter = map.keySet().iterator();
                    while (iter.hasNext()) {
                        list.add(map.get(iter.next()));
                    }
                    mAdapter.notifyDataSetChanged();
                }
            });
    
    
            btn_search2.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    String etYearFactorString = et_year_factor.getText().toString();
                    String etAllString = et_all.getText().toString();
                    String etYearIntString = et_year_int.getText().toString();
                    String currentYear = et_year.getText().toString();
                    String currentMonth = et_month.getText().toString();
                    String currentDay = et_day.getText().toString();
                    all = Double.parseDouble(etAllString) * 10000;
                    yearFactor = Double.parseDouble(etYearFactorString) / 100;
                    monthFactor = yearFactor / 12;
                    yearInt = Double.parseDouble(etYearIntString);
                    monthInt = yearInt * 12;
                    liMonth = remainMoney * monthFactor;
                    benMonth = remainMoney / monthInt;
                    allMonth = liMonth + benMonth;
                    remainMoney = all - javaMoney;
                    for (int i = 0; i < monthInt; i++) {
                        map.put(i, new LoanBean(i, all,
                                (all * (yearFactor / 12) * Math.pow((yearFactor / 12 + 1), 360) / (Math.pow((yearFactor / 12 + 1), 360) - 1))*monthInt,
                                yearFactor, monthFactor, yearInt,
                                monthInt,
                                all * monthFactor,
                                all * monthFactor * Math.pow((monthFactor + 1), monthInt) / (Math.pow((monthFactor + 1), monthInt) - 1) - all * monthFactor,
                                all * monthFactor * Math.pow((monthFactor + 1), monthInt) / (Math.pow((monthFactor + 1), monthInt) - 1),
                                all - (all * monthFactor * Math.pow((monthFactor + 1), monthInt) / (Math.pow((monthFactor + 1), monthInt) - 1) - all * monthFactor) * (i + 1),
                                (all * monthFactor * Math.pow((monthFactor + 1), monthInt) / (Math.pow((monthFactor + 1), monthInt) - 1) - all * monthFactor) * (i + 1),
                                (i + Integer.parseInt(currentMonth)) / 12 + Integer.parseInt(currentYear),
                                (i + Integer.parseInt(currentMonth)) % 12,
                                Integer.parseInt(currentDay)));
                    }
                    System.out.println(map);
                    if (!list.isEmpty()) {
                        list.clear();
                    }
                    Iterator<Integer> iter = map.keySet().iterator();
                    while (iter.hasNext()) {
                        list.add(map.get(iter.next()));
                    }
                    mAdapter.notifyDataSetChanged();
                }
            });
        }
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179

    step4:

    package com.example.myapplication;
    
    
    
    public class LoanBean {
        /*
      id             当月月数 唯一 id
      all            总金额
      yearFactor     年利率
      monthFactor    月利率
      yearInt        贷款年限
      monthInt       贷款总期数
      liMonth        当月偿还利息
      benMonth       当月偿还本金
      allMonth       当月还款总额
      remainMoney    剩余未偿还本金
      javaMoney      已偿还本金
      year           还款年份
      month          还款月份
        * */
    
        private int id;
        private double all;
        private double allMoney;
        private double yearFactor;
        private double monthFactor;
        private double yearInt;
        private double monthInt;
        private double liMonth;
        private double benMonth;
        private double allMonth;
        private double remainMoney;
        private double javaMoney;
        private int year;
        private int month;
        private int day;
    
        public LoanBean(int id, double all, double allMoney, double yearFactor, double monthFactor, double yearInt, double monthInt, double liMonth, double benMonth, double allMonth, double remainMoney, double javaMoney, int year, int month,int day) {
            this.id = id;
            this.all = all;
            this.allMoney = allMoney;
            this.yearFactor = yearFactor;
            this.monthFactor = monthFactor;
            this.yearInt = yearInt;
            this.monthInt = monthInt;
            this.liMonth = liMonth;
            this.benMonth = benMonth;
            this.allMonth = allMonth;
            this.remainMoney = remainMoney;
            this.javaMoney = javaMoney;
            this.year = year;
            this.month = month;
            this.day = day;
        }
    
        public double getAllMoney() {
            return allMoney;
        }
    
        public void setAllMoney(double allMoney) {
            this.allMoney = allMoney;
        }
    
        public int getId() {
            return id;
        }
    
        public void setId(int id) {
            this.id = id;
        }
    
        public double getAll() {
            return all;
        }
    
        public void setAll(double all) {
            this.all = all;
        }
    
        public double getYearFactor() {
            return yearFactor;
        }
    
        public void setYearFactor(double yearFactor) {
            this.yearFactor = yearFactor;
        }
    
        public double getMonthFactor() {
            return monthFactor;
        }
    
        public void setMonthFactor(double monthFactor) {
            this.monthFactor = monthFactor;
        }
    
        public double getYearInt() {
            return yearInt;
        }
    
        public void setYearInt(double yearInt) {
            this.yearInt = yearInt;
        }
    
        public double getMonthInt() {
            return monthInt;
        }
    
        public void setMonthInt(double monthInt) {
            this.monthInt = monthInt;
        }
    
        public double getLiMonth() {
            return liMonth;
        }
    
        public void setLiMonth(double liMonth) {
            this.liMonth = liMonth;
        }
    
        public double getBenMonth() {
            return benMonth;
        }
    
        public void setBenMonth(double benMonth) {
            this.benMonth = benMonth;
        }
    
        public double getAllMonth() {
            return allMonth;
        }
    
        public void setAllMonth(double allMonth) {
            this.allMonth = allMonth;
        }
    
        public double getRemainMoney() {
            return remainMoney;
        }
    
        public void setRemainMoney(double remainMoney) {
            this.remainMoney = remainMoney;
        }
    
        public double getJavaMoney() {
            return javaMoney;
        }
    
        public void setJavaMoney(double javaMoney) {
            this.javaMoney = javaMoney;
        }
    
        public int getYear() {
            return year;
        }
    
        public void setYear(int year) {
            this.year = year;
        }
    
        public int getMonth() {
            return month;
        }
    
        public void setMonth(int month) {
            this.month = month;
        }
    
        public int getDay() {
            return day;
        }
    
        public void setDay(int day) {
            this.day = day;
        }
    
        public String getTime(int year, int month,int day) {
            if (month==0){
                month=12;
            }
            return year+"年"+month+"月"+day+"日";
        }
    
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184

    step5:

    
    <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MainActivity">
    
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
    
            <LinearLayout
                android:id="@+id/ll_top"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">
    
                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="40dp">
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_marginLeft="12dp"
                        android:text="贷款年利率"
                        android:textSize="12sp" />
    
                    <EditText
                        android:id="@+id/et_year_factor"
                        android:layout_width="120dp"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:text="6"
                        android:textSize="13sp" />
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/et_year_factor"
                        android:text="%" />
                RelativeLayout>
    
    
                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="40dp">
    
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_marginLeft="12dp"
                        android:text="贷款总金额"
                        android:textSize="12sp" />
    
                    <EditText
                        android:id="@+id/et_all"
                        android:layout_width="120dp"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:text="100"
                        android:textSize="13sp" />
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/et_all"
                        android:text="W" />
                RelativeLayout>
    
                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="40dp">
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_marginLeft="12dp"
                        android:text="贷款年限"
                        android:textSize="12sp" />
    
    
                    <EditText
                        android:id="@+id/rt_year_int"
                        android:layout_width="120dp"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:text="30"
                        android:textSize="13sp" />
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/rt_year_int"
                        android:text="" />
    
                RelativeLayout>
    
    
                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="40dp">
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_marginLeft="12dp"
                        android:text="首次还款月份"
                        android:textSize="12sp" />
    
    
                    <EditText
                        android:id="@+id/et_year"
                        android:layout_width="120dp"
                        android:layout_height="wrap_content"
                        android:layout_centerInParent="true"
                        android:text="2022"
                        android:textSize="13sp" />
    
                    <TextView
                        android:id="@+id/tv_year"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/et_year"
                        android:text="" />
    
                    <EditText
                        android:id="@+id/et_month"
                        android:layout_width="30dp"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/tv_year"
                        android:text="8"
                        android:textSize="13sp" />
    
                    <TextView
                        android:id="@+id/tv2"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/et_month"
                        android:text="" />
    
                    <EditText
                        android:id="@+id/et_day"
                        android:layout_width="30dp"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/tv2"
                        android:text="9"
                        android:textSize="13sp" />
    
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_toRightOf="@+id/et_day"
                        android:text="" />
    
                RelativeLayout>
    
                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="40dp">
    
                    <Button
                        android:id="@+id/btn_search"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerVertical="true"
                        android:layout_marginLeft="25dp"
                        android:text="计算等额本金" />
    
                    <Button
                        android:id="@+id/btn_search2"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_toRightOf="@+id/btn_search"
                        android:layout_centerVertical="true"
                        android:layout_marginLeft="25dp"
                        android:text="计算等额本息" />
                RelativeLayout>
    
    
            LinearLayout>
    
            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/rv_group"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_below="@+id/ll_top"
                android:fadingEdge="none"
                android:listSelector="@android:color/transparent"
                android:verticalSpacing="10dp" />
    
    
        RelativeLayout>
    androidx.constraintlayout.widget.ConstraintLayout>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208

    step6:

    
    <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:fresco="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        android:background="@android:color/white"
        app:cardCornerRadius="4dp"
        app:cardPreventCornerOverlap="false"
        app:cardUseCompatPadding="true">
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center_vertical"
            android:orientation="vertical"
            android:padding="8dp">
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="当前期数"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_id"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="贷款总金额"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_all"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="年利率"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_year_factor"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="月利率"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_month_factor"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="贷款年限"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_year_int"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="贷款总期数"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_month_int"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="贷款本息总额"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_all_money"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textColor="@android:color/holo_red_dark"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="当月偿还利息"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_li_month"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="当月偿还本金"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_ben_month"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="当月还款总额"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_all_month"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textColor="@android:color/holo_red_dark"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="剩余未偿还本金"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_remain_money"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="已偿还本金"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_java_money"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="30dp">
    
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="12dp"
                    android:text="还款日期"
                    android:textSize="12sp" />
    
    
                <TextView
                    android:id="@+id/tv_time"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:text="@string/app_name"
                    android:textSize="13sp" />
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="0.1dp"
                    android:layout_alignParentBottom="true"
                    android:layout_centerHorizontal="true"
                    android:layout_marginLeft="10dp"
                    android:layout_marginRight="10dp"
                    android:background="@android:color/darker_gray" />
    
            RelativeLayout>
    
        LinearLayout>
    
    
    androidx.cardview.widget.CardView>
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276
    • 277
    • 278
    • 279
    • 280
    • 281
    • 282
    • 283
    • 284
    • 285
    • 286
    • 287
    • 288
    • 289
    • 290
    • 291
    • 292
    • 293
    • 294
    • 295
    • 296
    • 297
    • 298
    • 299
    • 300
    • 301
    • 302
    • 303
    • 304
    • 305
    • 306
    • 307
    • 308
    • 309
    • 310
    • 311
    • 312
    • 313
    • 314
    • 315
    • 316
    • 317
    • 318
    • 319
    • 320
    • 321
    • 322
    • 323
    • 324
    • 325
    • 326
    • 327
    • 328
    • 329
    • 330
    • 331
    • 332
    • 333
    • 334
    • 335
    • 336
    • 337
    • 338
    • 339
    • 340
    • 341
    • 342
    • 343
    • 344
    • 345
    • 346
    • 347
    • 348
    • 349
    • 350
    • 351
    • 352
    • 353
    • 354
    • 355
    • 356
    • 357
    • 358
    • 359
    • 360
    • 361
    • 362
    • 363
    • 364
    • 365
    • 366
    • 367
    • 368
    • 369
    • 370
    • 371
    • 372
    • 373
    • 374
    • 375
    • 376
    • 377
    • 378
    • 379
    • 380
    • 381
    • 382
    • 383
    • 384
    • 385
    • 386
    • 387
    • 388
    • 389
    • 390
    • 391
    • 392
    • 393
    • 394
    • 395
    • 396
    • 397
    • 398
    • 399
    • 400
    • 401
    • 402
    • 403
    • 404
    • 405
    • 406
    • 407
    • 408
    • 409
    • 410
    • 411
    • 412
    • 413
    • 414
    • 415
    • 416
    • 417
    • 418
    • 419
    • 420
    • 421
    • 422
    • 423
    • 424
    • 425
    • 426
    • 427
    • 428
    • 429
    • 430
    • 431
    • 432
    • 433
    • 434
    • 435
    • 436
    • 437
    • 438
    • 439
    • 440
    • 441
    • 442
    • 443
    • 444
    • 445
    • 446
    • 447
    • 448
    • 449
    • 450
    • 451
    • 452

    end

  • 相关阅读:
    File类
    AI对齐(AI Alignment)关键点理解
    autollm 指令设计
    LabVIEW中如何实现任意形状的不规则按键
    linux配置jdk
    can not remove .unionfs
    听GPT 讲Istio源代码--pilot(4)
    orElse,orElseGet,orElseThrow的使用
    Java 格式化时间与时间戳与时间间隔
    MySQL插入数据insert ignore和replace into
  • 原文地址:https://blog.csdn.net/cf8833/article/details/126249562