Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.27 KB | None | 0 0
  1. You will implement an Android app that contains the following screen.
  2. Please reuse system UI whenever possible, no external framework is allowed.
  3. You don't need to consider the color but make sure the content is readable.
  4. +++++++++++++++++++++++++++++++++++++++++++++++
  5. + Menu    Title                               +   <--- Hamburger manu and navigation bar
  6. +++++++++++++++++++++++++++++++++++++++++++++++
  7. +                                             +   <--- static content for plan information
  8. +  Plan name                                  +
  9. +  x minutes used       |  x total minutes    +
  10. +                                             +
  11. +---------------------------------------------+
  12. +                                             +
  13. + Users                                       +    <--- List of the users
  14. +---------------------------------------------+
  15. + User A                              primary +
  16. + x minutes used                              +
  17. +---------------------------------------------+
  18. + User B                             secondary+
  19. + x minutes used                              +
  20. +---------------------------------------------+
  21. +                                             +
  22. +                                             +
  23. +                See Detail                   +   <-- Button
  24. +++++++++++++++++++++++++++++++++++++++++++++++
  25. assuming you have the following JSON payload from our backend server.
  26. {
  27.    "response": {
  28.        "messageCode": "",
  29.        "status": "SUCCESS",
  30.        "resultSize": 0,
  31.        "pageNumber": 0,
  32.        "errorCode": "",
  33.        "errorMessage": "",
  34.        "hasMore": false
  35.    },
  36.    "planName": "Premium",
  37.    "totalMinutes": 200,
  38.    "totalMinutesUsed": 28,
  39.    "billingCycleStart": 1525892529000,
  40.    "billingCycleEnd": 1528570929000,
  41.    "usageBreakdown": [
  42.        {
  43.            "firstName": "Sujeeth",
  44.            "userId": 2407,
  45.            "userType": "primary",
  46.            "minutesUsed": 0,
  47.            "isPaused": false,
  48.            "paused": false
  49.        },
  50.        {
  51.            "firstName": "Enrico",
  52.            "userId": 2499,
  53.            "userType": "secondary",
  54.            "minutesUsed": 0,
  55.            "isPaused": false,
  56.            "paused": false
  57.        }
  58.    ],
  59.    "planUnlimited": false
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement