Coder Social home page Coder Social logo

android-round1's Introduction

Android-Round1

Target: Verify Android development skills

Assignment

You have a list of webviews with defined URLs. Create an application with a list of all webviews. Click on a webview name should open new screen with webview content.

Webviews with parameter cache == true should be preloaded in background. When user opens a webview, content should be load from cache. If content is downloading from network(not from cache), loading indicator should be shown.

Please write clean & maintainable code to implement the relevant functionality. Simply writing correct code isn't enough.

Specification:

  • Preload cacheable webview (so it's not load when open the webview even in the first time)
  • Usage of thrid party libraries is allowed
  • Don't worry about design, just use standard controls
  • Handle fundamental lifecycle flow
  • Use key from json as a name of webview
  • Use this values for replacements in URLs:
    • {userId} = 276
    • {appSecretKey} = gvx32RFZLNGhmzYrfDCkb9jypTPa8Q
    • {currencyCode} = USD
    • {offerId} = 10736598
    • {selectedVouchers} = []
  • Support API 8 (optional)

Bonus questions

  • If URL of webview changes, will application load content from new URL?
  • We would like to have a link in webview, that will open some native screen in application. Is it possible? How would you do it?

Todo

  • In GitHub, fork this repository to you own account
  • The solution, after finished, should be send as pull request to original HQ repository.
  • Log your manhour and provide that infomation back in the pull request detail.
  • Attach final APK in this repository

android-round1's People

Contributors

zinuzoid avatar

Watchers

 avatar James Cloos avatar  avatar Josef Nevoral avatar Michal Juhas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.