Giter Site home page Giter Site logo

android-utils's Introduction

License

Android Utils

A collection of utility classes for Android.

Installation

Add the following code to your root build.gradle:

allprojects
{
    repositories
    {
        maven
        {
            url 'https://jitpack.io'
        }
    }
}

Add the following code to your module build.gradle:

implementation 'com.github.mauriciotogneri:android-utils:4.17.0'

android-utils's People

Contributors

mauriciotogneri avatar blindway avatar

Stargazers

f-t-i-o-i avatar Chirag Prajapati avatar Pratik Fagadiya avatar Hassan Mohammed avatar Praveen Vishal avatar Daniel Le avatar  avatar

Watchers

 avatar James Cloos avatar Daniel Le avatar

android-utils's Issues

TimerAlarm Pending intent won't let Android S+ (version 31 and above) launch

For Android version S+ (version 31 and above) it is required to set a FLAG_IMMUTABLE or FLAG_MUTABLE on Pending intents.
Since TimerAlarm uses one, it should now specify the flag.

Caused by: java.lang.IllegalArgumentException: com.test.test: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles. at android.app.PendingIntent.checkFlags(PendingIntent.java:382) at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:673) at android.app.PendingIntent.getBroadcast(PendingIntent.java:660) at com.mauriciotogneri.androidutils.TimerAlarm.<init>(TimerAlarm.java:27) at ch.checkout.openwt.utils.TimeoutDetector.<init>(TimeoutDetector.java:23)

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.