Repo for Programming MB code
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package com.example.garagedoor
import android.content.Intentimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.view.View
class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) }
fun openGarage(view: View) { val intent = Intent(this, GarageOpenActivity::class.java).apply { } startActivity(intent) } fun viewStatus(view: View) { val intent = Intent(this, GarageViewActivity::class.java).apply { } startActivity(intent) }}
|