This commit is contained in:
chenjuntao
2019-12-22 20:36:23 +08:00
parent 678418da0b
commit 8ed76089eb
4 changed files with 72 additions and 15 deletions

View File

@ -389,7 +389,10 @@ public class DownloadItemUtils {
PermissionHelper.checkReadPhoneStatePermissionBeforeAction(context, () -> {
ReserveDialogFragment dialogFragment = ReserveDialogFragment.getInstance(
gameEntity,
() -> adapter.notifyItemChanged(position)
() -> {
LogUtils.logReservation(gameEntity, traceEvent.getSource());
adapter.notifyItemChanged(position);
}
);
dialogFragment.show(((AppCompatActivity) context).getSupportFragmentManager(), "reserve");
});