-
Notifications
You must be signed in to change notification settings - Fork 0
/
makevideo.kt
38 lines (32 loc) · 1.01 KB
/
makevideo.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.muhammadahmad.i210790
import BaseActivity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
class makevideo : BaseActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_makevideo)
}
fun photo_makephoto(view: View)
{
val userNam = intent.getStringExtra("name")
// Navigate back to the aboutme screen with the user's name
val intent = Intent(this, makephoto::class.java).apply {
putExtra("name", userNam)
}
startActivity(intent)
finish()
}
fun madevideo(view: View)
{
val userNam = intent.getStringExtra("name")
// Navigate back to the aboutme screen with the user's name
val intent = Intent(this, addnewmentor::class.java).apply {
putExtra("name", userNam)
}
startActivity(intent)
finish()
}
}