app/src/main/java/com/example/p1/listAdapter/NewListAdapter.java
//Use the provided ViewHolder on the onCreateViewHolder method to populate the current row on the RecyclerVie
Use the provided ViewHolder on the onCreateViewHolder method to populate the current row on the RecyclerVie
Use the provided ViewHolder on the onCreateViewHolder method to populate the current row on the RecyclerVie
@Override
    public void onBindViewHolder(@NonNull NewListAdapter.ViewHolder holder, int listPosition) {
        Income currentIncome = incomeList.get(listPosition);
        holder.text_view.setText(String.valueOf(currentIncome.getSum()));
    }
@ Override public void onBindViewHolder ( @ NonNull NewListAdapter . ViewHolder holder , int listPosition ) { Income currentIncome = incomeList . get ( listPosition ) ; holder . text_view . setText ( String . valueOf ( currentIncome . getSum ( ) ) ) ; }
Use the provided ViewHolder on the onCreateViewHolder method to populate the current row on the RecyclerVie
Use the provided ViewHolder on the onCreateViewHolder method to populate the current row on the RecyclerVie