11. Let’s Code!!! – Part 1
• Create Project
• Setup Project : add library dependency, setup package, add BaseApi
Class.
• Set ImageView Source From Assets (res).
• Set TextView Value From Variable & Assets (res).
• Set OnClick in XML & Java.
• Intent to Other Activity.
• Intent to Open Browser.
15. Parsing JSON Response to Model Class
1. Identify latest objects.
2. Start from JSONObject
or JSONArray.
3. Name of variable must
be same with field
name in JSON Response.
4. Don’t forget to
implements Serializable.
5. Set array if array and
object if object.
16. •Set ImageView Source From Assets (res).
•Set TextView Value From Variable & Assets (res).
•Set OnClick in XML & Java.
•Intent to Other Activity.
•Intent to Open Browser.