|
|
|
[Android] Redirect Activity แล้วแต่ยังไม่สามารถเรียก event Onclick บน Activity นั้นได้ |
|
|
|
|
|
|
|
ตัวอย่างปุ่ม about
Code (Android-Java)
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(MainActivity.this, aboutTheDeveloper.class));
}
}
Code (Android-Java)
public void openAboutTheDeveloper(View v) {
startActivity(new Intent(MainActivity.this, aboutTheDeveloper.class));
}
Blackbelt
|
|
|
|
|
Date :
2020-08-02 21:04:41 |
By :
PhrayaDev |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|