Closed Cade5480 closed 6 months ago
I need to add the button click for account info with the account information popup
buttonAccount.setOnClickListener { val intent = Intent(this, AccountOptionsActivity::class.java) startActivity(intent) }
`package com.example.mealtime1 import android.content.Intent import android.os.Bundle import android.widget.Button import androidx.activity.ComponentActivity class AccountOptionsActivity: ComponentActivity() {
private lateinit var backButton: Button override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.user_info_activity) backButton = findViewById(R.id.button) backButton.setOnClickListener { val intent = Intent(this, MyAccountActivity::class.java) startActivity(intent) } }
}`
IDE: Android Studio SDK: 34.1.2
Add a click handler to the account info activity to correctly display user and account info
N/A
Completed
Will assign due date when I begin work
Added functionality to button click of account info, closing this issue
Account Info
Description:
I need to add the button click for account info with the account information popup
Steps to Reproduce:
Code Snippets:
buttonAccount.setOnClickListener { val intent = Intent(this, AccountOptionsActivity::class.java) startActivity(intent) }
}`
Environment Details:
IDE: Android Studio SDK: 34.1.2
For Issue Resolution:
Add a click handler to the account info activity to correctly display user and account info
For Investigations/Research:
N/A
Current Status:
Completed