I have date array and i set data in my list.
holder.getDayReceipt().setText(receiptList.get(position).getCreatedDate().toString());
I need set date in this format:
Today (16 June)
1 day (15 June)
2 day (14 June)
..............
How do it?
EDIT: You did not understand me
instead "16 June" i want Today
instead "15 June" i want 1 day
instead "14 June" i want 2 day
You can implement this piece of code
Hope it would be helpful to you!!