Skip to content

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

Open
harcoPro wants to merge 1 commit into
3.0.1from
EACQAPW-5761-paymentid-fix
Open

EACQAPW-5761: Реализована возможность передачи paymentId на главную форму.#308
harcoPro wants to merge 1 commit into
3.0.1from
EACQAPW-5761-paymentid-fix

Conversation

@harcoPro

@harcoPro harcoPro commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

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

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

class MainFormPayment : MainFormPaymentDelegate,

Copy link
Copy Markdown
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
Copy Markdown
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 {

@decemd1 decemd1 Aug 9, 2023

Copy link
Copy Markdown
Collaborator

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