This Notes is according to the udacity free course :
Android Development for Beginners
Lesson 2A : Modifying First Lines of Java Code
After paste up the Code on you MainActivity.java and run the button. Now, I introduce a simple concept for you.
We can notice that there are 3 different methods in this java code file. No.3 is to declare the method and No.2 is to call the method.
When we change the number inside the No.2 display function
==>1 to 2
and then run your app again. The number will be changed.
Android Development for Beginners
Lesson 2A : Modifying First Lines of Java Code
After paste up the Code on you MainActivity.java and run the button. Now, I introduce a simple concept for you.
We can notice that there are 3 different methods in this java code file. No.3 is to declare the method and No.2 is to call the method.
When we change the number inside the No.2 display function
==>1 to 2
and then run your app again. The number will be changed.
留言
張貼留言