Skip to content

EACQAPW-5761: Реализована возможность передачи paymentId на главную форму. #308

Open
wants to merge 1 commit into
base: 3.0.1
Choose a base branch
from

Conversation

harcoPro
Copy link
Contributor

@harcoPro harcoPro commented Aug 9, 2023

Так же реализована возможность тестировать оплату по paymentId в sample

…орму. Так же реализована возможность тестировать оплату по paymentId в sample
fun launchMainFormPayment()
}

class MainFormPayment : MainFormPaymentDelegate,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MainFormPaymentDelegateImpl

fun setupMirPay()
}

class MirPayPayment : MirPayPaymentDelegate,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MirPayPaymentDelegateImpl в первых двух классах было Impl

Toast.makeText(this, message, Toast.LENGTH_SHORT).show()
}

fun Activity.toast(@StringRes message: Int) = runOnUiThread {
Copy link
Collaborator

@decemd1 decemd1 Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Разве что

fun Activity.toast(message: CharSequence) = runOnUiThread {
    Toast.makeText(this, message, Toast.LENGTH_SHORT).show()
}

fun Activity.toast(@StringRes messageResId: Int) = toast(getString(messageResId))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants