Skip to content

Commit

Permalink
Update PurchaseHistoryRecordAdapter.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsuzuki authored Jul 27, 2021
1 parent 00f3691 commit 9c2d1c2
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ class PurchaseHistoryRecordAdapter(private val list: MutableList<PurchaseHistory

override fun onBindViewHolder(holder: HistoryRecordViewHolder, position: Int) {
val item = list[position]
holder.binding.recordSku.text = item.sku
holder.binding.recordSku.text = item.toString()
val time = SimpleDateFormat("MM-dd-yyyy hh:mm", Locale.getDefault()).format(Date(item.purchaseTime))
holder.binding.recordTime.text = time
item.sku
item.signature
item.purchaseTime
item.purchaseToken
item.developerPayload
item.originalJson
//item.sku
//item.signature
//item.purchaseTime
//item.purchaseToken
//item.developerPayload
//item.originalJson

holder.binding.root.animation = AnimationUtils.loadAnimation(holder.binding.root.context, R.anim.product_item_anim)
}
Expand Down

0 comments on commit 9c2d1c2

Please sign in to comment.