Skip to content

Commit

Permalink
added payButtons checker
Browse files Browse the repository at this point in the history
  • Loading branch information
aslm-android committed Oct 31, 2023
1 parent 20ccf26 commit a12d9dc
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 5 deletions.
Binary file modified .gradle/8.0/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.0/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ object PayButtonConfig {
val layout2 = LinearLayout(context)
layout2.layoutParams = LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT)
layout2.orientation = LinearLayout.VERTICAL
layout2.addView(tapBenefitPay)
layout2.invalidate()
payButtonView.addView(layout2)
layout2.post {
layout2.addView(tapBenefitPay)
layout2.invalidate()
}
payButtonView.post {
payButtonView.addView(layout2)

}

BeneiftPayConfiguration.configureWithTapBenfitPayDictionaryConfiguration(context,tapBenefitPay,
configuration,object : TapBenefitPayStatusDelegate {
override fun onError(error: String) = getPayButtonStatusDelegate()?.onError(error) ?: Unit
Expand All @@ -61,8 +67,14 @@ object PayButtonConfig {
val layout2 = LinearLayout(context)
layout2.layoutParams = LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT)
layout2.orientation = LinearLayout.VERTICAL
layout2.addView(tapKnetPay)
layout2.invalidate()
layout2.post {
layout2.addView(tapKnetPay)
layout2.invalidate()
}
payButtonView.post {
payButtonView.addView(layout2)

}
payButtonView.addView(layout2)
TapKnetConfiguration.configureWithKnetDictionary(
context,
Expand Down

0 comments on commit a12d9dc

Please sign in to comment.