Last active
August 22, 2020 10:57
-
-
Save ibrahimyilmaz/ec8021a9209c02f3b97a84ab071e56d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class TransactionUtils { | |
public static void getTransactionWithFormattedTime(Transaction transaction) { | |
String oldTransationTime = transaction.getTransactionTime(); | |
transaction.setTransactionTime(SomeFormattings!!!) ; | |
} | |
} | |
//Lets say we are in the ViewHolder of a RecyclerView.Adapter | |
public void onBindViewHolder(...){ | |
TransactionUtils.getTransactionWithFormattedTime(transaction); | |
transactionTime.setText(transaction.getTransactionTime()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment