Code Monkey home page Code Monkey logo

bolts's People

Contributors

dmfs avatar

Watchers

 avatar  avatar

bolts's Issues

ValueColor

Sometimes it can be useful to be able to create a Color from the color int directly.

Permissions use cases

This is the list of use cases that need to be handled by the Permissions module:

  • Check if a single permission has been granted
  • Check if multiple permissions have been granted (all of them)
  • Check if a single permission can be granted (i.e. it's present in the manifest of the app)
  • Check if multiple permissions can be granted (i.e. all of them are present in the manifest of the app)
  • Check if a single permission can be requested (i.e. it has not been dismissed with "don't ask again" before)
  • Check if multiple permissions can be requested (i.e. none of them has been dismissed with "don't ask again" before)
  • Request a single permission (NoOp on Android <6)
  • Request multiple permissions (NoOp on Android <6)
  • Tell if a permission has been requested before.
  • List granted permissions (for debugging purposes)

Ideally there is not much of a difference between how single and multiple permissions are handled.

Using the module should be platform independent, i.e. you can even request permissions on Android 5, they just won't be granted because no actual request will be started).

ContentValuesMatcher

In order to test ContentValues for specific values, I want a ContentValuesMatcher.

Usage could be like this:

assertThat(values, 
    contains(
         only(
             longValue("key1", 123L),
             stringValue("key2", "abc")
             nullValue("key3")
         )
    )

HsvToned and HslToned

It turned out adjusting HSL-Lightness value is not always the best, also some existing code uses HSV already in OpenTasks, so it would be good to have lightness adjusting decorator using both color system.

Setup Travis CI

in order to run unit tests automatically, I want a Travis CI configuration file.

PacelableMatcher

A Matcher which parcels and unparcels a Parcelable and have the result matched by another Matcher.

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.