Create an Android app named Greeter with three activities named
MainActivity, Greeter2Activity, and
Greeter3Activity.
MainActivity displays the greeting
Hello, how are you?
Click for next activity.
Greeter2Activity displays the message
I'm fine, thank you, and you?
Click for next activity.
Greeter3Activity displays the message
I'm fine too, thanks.
Click for main activity.
Implement the onClick event handlers with lambda
functions.
Ans: Here are the source code files:
activity_main.xml
MainActivity.java
activity_greeter2.xml
Greeter2Activity.java
activity_greeter3.xml
Greeter3Activity.java