INNER CODE UNIT · Kotlin

AboutPaymentActivity

shmykelsa/AAAD · app/src/main/java/com/legs/appsforaa/AboutPaymentActivity.kt:33

class AboutPaymentActivity : AppCompatActivity() {

    private lateinit var paymentSheet: PaymentSheet
    private lateinit var stripe: Stripe
    private var deviceId: String = ""
    private var customerConfig: PaymentSheet.CustomerConfiguration? = null
    private var paymentIntentClientSecret: String? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        // Enable edge-to-edge display for proper insets handling
        WindowCompat.setDecorFitsSystemWindows(window, false)

        setContentView(R.layout.activity_about_payment)

        // Apply bottom insets to bottom layout for 3-button navbar compatibility
        findViewById<View>(R.id.bottom_layout).applyBottomInsetPadding()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…