Coder Social home page Coder Social logo

bllocchallenge's Introduction

Blloc Coding Challenge

Coding challenge as part of the interview process for an Android role at Blloc.

Specification

Build an android app that shows the most recent 20 notifications the device received. Request Permission When the app does NOT have notification access. Display a UI that informs the user and has a button to grant permissions. When the user clicks the button they go into settings where they can grant the notification permission.

Notifications list

When the app has notification access. The user sees their last 20 notifications or an empty state if none. Notifications are sorted from most to least recent. If the user receives a notification the list is updated. If they receive a notification while the app is not in the foreground, the next time they open the app they should see the list. The notification consists of the title, content and app icon. You can add any other information you see fit.

Filtering

The UI supports a way to filter the notifications list. ● All notifications (default) - shows the most recent 20 notifications ● Active only - shows only the currently active notifications (the ones show in the notification shade)

Criteria

● The app meets the requirements ● Clean and maintainable code with separation of concerns. This is a small app but the code should be written in a way to enable scaling it to a bigger app ● The app follows the android platform requirements and best practices e.g. configuration changes, process death, localisation.... ● Performance - efficient layouts, efficient use of resources (no leaks)

Resources

● Notification listener service : https://developer.android.com/reference/android/service/notification/NotificationListenerService ● Requesting notification access: https://stackoverflow.com/questions/22663359/redirect-to-notification-access-settings/22664416#22664416

bllocchallenge's People

Contributors

feryellh avatar

Stargazers

Dharamveer Gupta avatar

Watchers

 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.