Android Toast For RTL Applications

Overview

RTL-Toast

Android Arsenal JitPack GitHub license Open Source Love png1 FOSSA Status

Android library to show Toasts in a pretty RTL way

ScreenShot

Install

Add it in your root build.gradle

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

Add the dependency

dependencies {
    implementation 'com.github.hatamiarash7:RTL-Toast:1.3'
}

Usage

RTLToast.error(context, message, length, withIcon);
RTLToast.success(context, message, length, withIcon);
RTLToast.info(context, message, length, withIcon);
RTLToast.warning(context, message, length, withIcon);
RTLToast.normal(context, message, length, withIcon);

You can use formatted strings

RTLToast.info(context, getFormattedMessage())

private CharSequence getFormattedMessage() {  
    final String prefix = "متن ";  
    final String highlight = "با فرمت ";  
    final String suffix = " مخصوص";  
    SpannableStringBuilder ssb = new SpannableStringBuilder(prefix).append(highlight).append(suffix);  
    int prefixLen = prefix.length();  
    ssb.setSpan(new StyleSpan(BOLD_ITALIC), prefixLen, prefixLen + highlight.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);  
    return ssb;  
}

Or you can customize your toast with RTLToast.Config

RTLToast.Config.getInstance()  
    .setTextColor(Color.GREEN)  
    .setToastTypeface(Typeface.createFromAsset(getAssets(), "IRANSans.ttf"))  
    .apply();  
RTLToast.custom(context, message, getResources().getDrawable(R.drawable.laptop512), Color.BLACK, length, withIcon, shouldTint).show();
RTLToast.Config.reset();

Support

ko-fi

Contributing

  1. Fork it!
  2. Create your feature branch : git checkout -b my-new-feature
  3. Commit your changes : git commit -am 'Add some feature'
  4. Push to the branch : git push origin my-new-feature
  5. Submit a pull request :D

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them

License

FOSSA Status

Comments
  • Add license scan report and status

    Add license scan report and status

    Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README.

    Below are docs for integrating FOSSA license checks into your CI:

    opened by fossabot 1
  • Configure Renovate

    Configure Renovate

    Mend Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • gradle.properties (gradle)
    • settings.gradle (gradle)
    • build.gradle (gradle)
    • app/build.gradle (gradle)
    • toast/build.gradle (gradle)
    • gradle/wrapper/gradle-wrapper.properties (gradle-wrapper)

    Configuration Summary

    Based on the default config's presets, Renovate will:

    • Start dependency updates only once this onboarding PR is merged
    • Enable Renovate Dependency Dashboard creation
    • If semantic commits detected, use semantic commit type fix for dependencies and chore for all others
    • Ignore node_modules, bower_components, vendor and various test/tests directories
    • Autodetect whether to pin dependencies or maintain ranges
    • Rate limit PR creation to a maximum of two per hour
    • Limit to maximum 10 open PRs at any time
    • Group known monorepo packages together
    • Use curated list of recommended non-monorepo package groupings
    • A collection of workarounds for known problems with packages

    🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


    What to Expect

    With your current configuration, Renovate will create 6 Pull Requests:

    Update dependency androidx.appcompat:appcompat to v1.4.2
    • Schedule: ["at any time"]
    • Branch name: renovate/androidx.appcompat-appcompat-1.x
    • Merge into: master
    • Upgrade androidx.appcompat:appcompat to 1.4.2
    Update dependency com.android.tools.build:gradle to v3.6.4
    • Schedule: ["at any time"]
    • Branch name: renovate/com.android.tools.build-gradle-3.x
    • Merge into: master
    • Upgrade com.android.tools.build:gradle to 3.6.4
    Update dependency gradle to v5.6.4
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-5.x
    • Merge into: master
    • Upgrade gradle to 5.6.4
    Update dependency androidx.constraintlayout:constraintlayout to v2
    Update dependency com.android.tools.build:gradle to v7
    • Schedule: ["at any time"]
    • Branch name: renovate/com.android.tools.build-gradle-7.x
    • Merge into: master
    • Upgrade com.android.tools.build:gradle to 7.2.1
    Update dependency gradle to v7
    • Schedule: ["at any time"]
    • Branch name: renovate/gradle-7.x
    • Merge into: master
    • Upgrade gradle to 7.4.2

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update dependency gradle to v7

    Update dependency gradle to v7

    Mend Renovate

    This PR contains the following updates:

    | Package | Update | Change | |---|---|---| | gradle (source) | major | 5.1.1 -> 7.5.1 |


    Release Notes

    gradle/gradle

    v7.5.1: 7.5.1

    This is a patch release for 7.5. We recommend using 7.5.1 instead of 7.5

    Read the Release Notes

    We would like to thank the following community members for their contributions to this release of Gradle: Michael Bailey, Josh Kasten, Marcono1234, mataha, Lieven Vaneeckhaute, kiwi-oss, Stefan Neuhaus, George Thomas, Anja Papatola, Björn Kautler, David Burström, Vladimir Sitnikov, Roland Weisleder, Konstantin Gribov, David Op de Beeck, aSemy, Rene Groeschke, Jonathan Leitschuh, Aurimas Liutikas, Jamie Tanna, Xin Wang, Atsuto Yamashita, Taeik Lim, Peter Gafert, Alex Landau, Jerry Wiltse, Tyler Burke, Matthew Haughton, Filip Daca, Simão Gomes Viana, Vaidotas Valuckas, Edgars Jasmans, Tomasz Godzik, Jeff, Lajos Veres

    Upgrade instructions

    Switch your build to use Gradle 7.5.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.5.1

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.4.2: 7.4.2

    This is a patch release for Gradle 7.4.

    See the list of fixed issues: https://docs.gradle.org/7.4.2/release-notes.html

    We recommend users upgrade to 7.4.2 instead of 7.4 or another patch release.

    Upgrade Instructions

    Switch your build to use Gradle 7.4.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.4.2
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.2.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.4.1: 7.4.1

    This is a patch release for Gradle 7.4.

    See the list of fixed issues: https://docs.gradle.org/7.4.1/release-notes.html

    We recommend users upgrade to 7.4.1 instead of 7.4.

    Upgrade Instructions

    Switch your build to use Gradle 7.4.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.4.1
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.3.3: 7.3.3

    This is a patch release for Gradle 7.3.

    It fixes the following issues:

    We recommend users upgrade to 7.3.3 instead of 7.3.

    Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.

    Upgrade Instructions

    Switch your build to use Gradle 7.3.3 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.3.3
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.3.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.3.2: 7.3.2

    This is a patch release for Gradle 7.3.

    It fixes the following issues:

    • #​19300 Mitigations for log4j vulnerability in Gradle builds
    • #​19257 Incremental java compilation fails when renaming classname with $ character

    We recommend users upgrade to 7.3.2 instead of 7.3.

    Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.

    Upgrade Instructions

    Switch your build to use Gradle 7.3.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.3.2
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.2.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.3.1: 7.3.1

    This is a patch release for Gradle 7.3.

    It fixes the following issues:

    • #​19058 Consider reverting breaking change about test configuration
    • #​19067 Fix multiple annotation processing issues discovered by Micronaut

    We recommend users upgrade to 7.3.1 instead of 7.3.

    Upgrade Instructions

    Switch your build to use Gradle 7.3.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.3.1
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.1.1: 7.1.1

    This is a patch release for Gradle 7.1.

    It fixes the following issues:

    • #​17488 Many Micronaut builds failing with NPE with Gradle 7.1 & JDK 8
    • #​17548 [Configuration cache] Task not up-to-date for SantaTracker
    • #​17542 [Configuration cache] Filtered FC with mapped elements stored incorrectly

    We recommend users upgrade to 7.1.1 instead of 7.1.

    Upgrade Instructions

    Switch your build to use Gradle 7.1.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.1.1
    

    See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.1.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.0.2: 7.0.2

    This is a patch release for Gradle 7.0.

    This fixes an issue with files system watching on certain Linux distributions.

    We recommend users upgrade to 7.0.2 instead of 7.0.

    Upgrade Instructions

    Switch your build to use Gradle 7.0.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.0.2
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.0.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v7.0.1: 7.0.1

    This is a patch release for Gradle 7.0.

    This fixes several issues reported against 7.0.

    We recommend users upgrade to 7.0.1 instead of 7.0.

    Upgrade Instructions

    Switch your build to use Gradle 7.0.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=7.0.1
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.0.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.9.3: 6.9.3

    This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.x to Gradle 6.x.

    It fixes the following issues:

    • #​19523 Fix buffer overflow error in KryoBackedDecoder [Backport 6.x]
    • #​20189 Support constraints without version in GMM [Backport 6.9.x]
    • #​22358 Missing exclude rule merging optimizations

    We recommend users upgrade to 6.9.3 instead of 6.9.

    Upgrade Instructions

    Switch your build to use Gradle 6.9.3 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.9.3
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.3.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.9.2: 6.9.2

    This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.2 to Gradle 6.x.

    It fixes the following issues:

    • #​18163 Fix excludes for substituted dependencies
    • #​18164 POSIX shell scripts improvements
    • #​18697 Fix corrupted resolution result from replacement / capability conflict
    • #​19328 Mitigations for log4j vulnerability in Gradle builds
    • #​19372 Multiple transformed artifacts selected

    We recommend users upgrade to 6.9.2 instead of 6.9.

    Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.

    Upgrade Instructions

    Switch your build to use Gradle 6.9.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.9.2
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.2.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.9.1: 6.9.1

    This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.2 to Gradle 6.x.

    It fixes the following issues:

    • #​18089 Deprecate jcenter() repository
    • #​17950 Renaming and recreating the project directory causes Gradle to lose track of changes on Windows
    • #​17949 Gradle's up-to-date checks do not work on Windows FAT drives

    We recommend users upgrade to 6.9.1 instead of 6.9.

    Upgrade Instructions

    Switch your build to use Gradle 6.9.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.9.1
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.8.3: 6.8.3

    This is a patch release for Gradle 6.8.

    This fixes a critical bug present in Gradle 6.8, 6.8.1 and 6.8.2.

    All issues fixed in this patch release

    Please don’t use the original 6.8 release or previous patch releases, and instead upgrade to 6.8.3.

    Upgrade Instructions

    Switch your build to use Gradle 6.8.3 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.8.3 --gradle-distribution-sha256-sum 7faa7198769f872826c8ef4f1450f839ec27f0b4d5d1e51bade63667cbccd205
    

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.3.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.8.2: 6.8.2

    This is a patch release for Gradle 6.8.

    This fixes several bugs in Gradle 6.8.1.

    All issues fixed in this patch release

    Please don’t use the original 6.8 release or the 6.8.1, and instead upgrade to 6.8.2.

    Upgrade Instructions

    Switch your build to use Gradle 6.8.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.8.2

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.2.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.8.1: 6.8.1

    This is a patch release for Gradle 6.8.

    This fixes several critical bugs in Gradle 6.8.

    All issues fixed in this patch release

    We recommend that you use Gradle 6.8.1 over the initial release of Gradle 6.8.

    Upgrade Instructions

    Switch your build to use Gradle 6.8.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.8.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.7.1: 6.7.1

    This is a patch release for Gradle 6.7.

    This fixes several critical bugs in Gradle 6.7.

    All issues fixed in this patch release

    We recommend that you use Gradle 6.7.1 over the initial release of Gradle 6.7.

    Upgrade Instructions

    Switch your build to use Gradle 6.7.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.7.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.7.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.6.1: 6.6.1

    This is a patch release for Gradle 6.6.

    This fixes several critical bugs in Gradle 6.6.

    All issues fixed in this patch release

    We recommend that you use Gradle 6.6.1 over the initial release of Gradle 6.6.

    Upgrade Instructions

    Switch your build to use Gradle 6.6.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.6.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.6.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.5.1: 6.5.1

    This is a patch release for Gradle 6.5.

    This fixes several critical bugs in Gradle 6.5:

    • Regression: Gradle 6.5 cached builds cause IllegalStateException #​13367
    • Regression: Compile classpath configuration is not deterministic #​13555
    • Regression: Class cast exception when GStrings are used with System.getProperty #​13569
    • And a number of dependency graph resolution errors (#​13251, #​13316, #​13329, #​13551)

    All issues fixed in this patch release

    We recommend that you use Gradle 6.5.1 over the initial release of Gradle 6.5.

    Upgrade Instructions

    Switch your build to use Gradle 6.5.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.5.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.5.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.4.1: 6.4.1

    This is a patch release for Gradle 6.4.

    This fixes several critical bugs in Gradle 6.4:

    • Regression: Different daemons are used between IDE and CLI builds for the same project #​13069
    • Regression: Main-Class attribute always added to jar manifest when using application plugin #​13057

    All issues fixed in this patch release

    We recommend that you use Gradle 6.4.1 over the initial release of Gradle 6.4.

    Upgrade Instructions

    Switch your build to use Gradle 6.4.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.4.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.4.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.2.2: 6.2.2

    This is a patch release for Gradle 6.2.

    This fixes a critical bug in Gradle 6.2:

    • Multi-project build use the properties of the rootProject for all included builds. #​12381

    All issues fixed

    We recommend that you use Gradle 6.2.2 over the initial release of Gradle 6.2.

    Read the full release notes

    Upgrade Instructions

    Switch your build to use Gradle 6.2.2 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.2.2

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.2.2.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.2.1: 6.2.1

    This is a patch release for Gradle 6.2.

    This fixes several critical bugs in Gradle 6.2:

    • Project name disambiguation causes project / external dependency conflicts to be missed. #​12315
    • IdeaModelBuilder does not provide groovy-all as compile dep for buildSrc #​12274
    • Gradle crashes if GRADLE_RO_DEP_CACHE is set and it cannot create modules-2 directory within it #​12293

    All issues fixed

    We recommend that you use Gradle 6.2.1 over the initial release of Gradle 6.2.

    Read the full release notes

    Upgrade Instructions

    Switch your build to use Gradle 6.2.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.2.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.2.1.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.1.1: 6.1.1

    This is a patch release for Gradle 6.1.

    This fixes several critical bugs in Gradle 6.1:

    • Plugins using kotlin-dsl and compiled with 6.1 are incompatible with Gradle 6.0 #​11947
    • Missing fixed issues from Gradle 6.1 release notes #​11954
    • Memory regression when resolving large artifacts while computing checksums #​11966
    • Gradle 6.1 generates an empty .gradle and gradle directories on each execution in subproject directories #​11971

    All issues fixed

    We recommend that you use Gradle 6.1.1 over the initial release of Gradle 6.1.

    Read the full release notes

    Upgrade Instructions

    Switch your build to use Gradle 6.1.1 by updating your wrapper:

    ./gradlew wrapper --gradle-version=6.1.1

    See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.1.x.

    Reporting Problems

    If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v6.0.1: 6.0.1

    This is a patch release for Gradle 6.0.

    This fixes several critical bugs in Gradle 6.0:

    • Incremental Java compilation is broken with Android 3.5.1 and Gradle 6.0 #​11330
    • Unable to use a Provider as an artifact for the maven-publish plugin #​11054
    • Implicit capabilities not always applied/detected #​11300
    • maven-metadata.xml SHA256 and SHA512 checksums prevent publishing to Nexus #​11308
    • Unable to properly resolve dynamic dependencies from mavenLocal() repo #​11321
    • Kotlin DSL: fileTree(mapOf(...)) has unexpected behavior #​11335
    • Attribute disambiguation rule for 'org.gradle.category' can cause unexpected type exception #​11365

    All issues fixed

    We recommend that you use Gradle 6.0.1 over the initial release of Gradle 6.0.

    Upgrade Instructions

    Switch your build to use Gradle 6.0.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=6.0.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.4: 5.6.4

    This bug-fix release contains all changes from 5.6.1 through 5.6.3 as well as:

    • Can't configure kotlinOptions after upgrade to gradle 5.6.3 using kotlin-dsl #​11083
    • Slow localhost look-up on macOS #​11134

    We recommend that you use Gradle 5.6.4 over any other 5.6.x release.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.4 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.4

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.3: 5.6.3

    This bug-fix release contains all changes from 5.6.1 and 5.6.2 as well as:

    • Let Kotlin DSL gracefully handle lambdas registered as extensions (5.6.3) #​11014
    • Gradle Module Metadata compatibility for unique snapshots #​11050
    • maven-publish publishes jars with wrong extension for known jar packagings like 'ejb' in 5.6 #​10555
    • Regression in 5.5 when using dependency constraints for non-jar dependencies without a POM #​10948
    • resolution failure when dependency locks and kotlin-dsl plugin are present #​10697
    • Non-Kotlin extensions crash the build when using Kotlin DSL + Kotlin plugins #​10729
    • Sporadic build failures with build-scan due to an overlapping ID assignment https://github.com/gradle/gradle/pull/10286
    • Prevent StackOverflowException caused by excessive 'or' via PatternMatcher #​10330

    We recommend that you use Gradle 5.6.3 over any other 5.6.x release.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.3 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.3

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.2: 5.6.2

    This bug-fix release contains changes to Gradle 5.6.1:

    • Duplicate entry in generated .classpath file in Gradle >= 5.6 (#​10393)
    • Memory leak when using tasks that use Worker API and process isolation (#​10411)

    We recommend that you use Gradle 5.6.2 over 5.6.1.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.2 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.2

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.1: 5.6.1

    This bug-fix release contains changes to Gradle 5.6:

    We recommend that you use Gradle 5.6.1 over 5.6.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.5.1: 5.5.1

    This bug-fix release contains three changes to Gradle 5.5:

    • Combination of errorprone-gradle-plugin and options.fork = true causes Java compilation to fail in Gradle 5.5 #​9897
    • Using dependency declaration gradleKotlinDsl() fails with 5.5 #​9919
    • Chain of transitives aligned by same platform can lead to broken resolution #​9882

    We recommend that you use Gradle 5.5.1 over 5.5.

    Upgrade Instructions

    Switch your build to use Gradle 5.5.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.5.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.4.1: 5.4.1

    This bug-fix release contains two changes to Gradle 5.4:

    We recommend that you use Gradle 5.4.1 over 5.4.

    Upgrade Instructions

    Switch your build to use Gradle 5.4.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.4.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.3.1: 5.3.1

    This bug-fix release contains several changes to Gradle 5.3, notably:

    We recommend that you use Gradle 5.3.1 over 5.3.

    Upgrade Instructions

    Switch your build to use Gradle 5.3.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.3.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.2.1: 5.2.1

    This bug-fix release contains several changes to Gradle 5.2, notably:

    We recommend that you use Gradle 5.2.1 over 5.2.

    Upgrade Instructions

    Switch your build to use Gradle 5.2.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.2.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update dependency com.android.tools.build:gradle to v7

    Update dependency com.android.tools.build:gradle to v7

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.android.tools.build:gradle (source) | 3.4.1 -> 7.3.1 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update dependency androidx.constraintlayout:constraintlayout to v2

    Update dependency androidx.constraintlayout:constraintlayout to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | androidx.constraintlayout:constraintlayout (source) | 1.1.3 -> 2.1.4 | age | adoption | passing | confidence |


    Release Notes

    androidx/constraintlayout

    v2.1.4

    Compare Source

    Point release of the constraintlayout library.

    See what's New in 2.1.4

    v2.1.3

    Compare Source

    Point release of the constraintlayout library.

    ConstraintLayout

    • Add getSceneString on ConstraintLayout which gets a json formatted dump of the layout and constraints
    • Add attribute to GuideLine guidelineuseRTL to enable / disable if guideline is using RTL

    ConstraintLayout Compose

    • add support for Margin in barrier id: {type: 'barrier', direction: 'end' , contains: ['id1', 'id2'], margin: -12}
    • add json support for vbias/hbias id: { centerVertically: 'parent', vBias: 0.45 }
    • improve json min/max support width: { value: 'wrap', max: 300, min:20 },
    • mprove chain in dsl val chain1 = createHorizontalChain(box1, box2, chainStyle = ChainStyle.Spread)
    • add DSL for goneMargin , Reset dimensions and transforms
    • add bias centerHorizontallyTo(parent, bias = 0.2f)

    MotionLayout Compose

    v2.1.2

    Compare Source

    Point release of the constraintlayout library.

    v2.1.1

    Compare Source

    Point release of the constraintlayout library.

    v2.1.0

    Compare Source

    v2.0.4

    Compare Source

    v2.0.3

    Compare Source

    v2.0.2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update dependency gradle to v5.6.4

    Update dependency gradle to v5.6.4

    Mend Renovate

    This PR contains the following updates:

    | Package | Update | Change | |---|---|---| | gradle (source) | minor | 5.1.1 -> 5.6.4 |


    Release Notes

    gradle/gradle

    v5.6.4: 5.6.4

    This bug-fix release contains all changes from 5.6.1 through 5.6.3 as well as:

    • Can't configure kotlinOptions after upgrade to gradle 5.6.3 using kotlin-dsl #​11083
    • Slow localhost look-up on macOS #​11134

    We recommend that you use Gradle 5.6.4 over any other 5.6.x release.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.4 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.4

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.3: 5.6.3

    This bug-fix release contains all changes from 5.6.1 and 5.6.2 as well as:

    • Let Kotlin DSL gracefully handle lambdas registered as extensions (5.6.3) #​11014
    • Gradle Module Metadata compatibility for unique snapshots #​11050
    • maven-publish publishes jars with wrong extension for known jar packagings like 'ejb' in 5.6 #​10555
    • Regression in 5.5 when using dependency constraints for non-jar dependencies without a POM #​10948
    • resolution failure when dependency locks and kotlin-dsl plugin are present #​10697
    • Non-Kotlin extensions crash the build when using Kotlin DSL + Kotlin plugins #​10729
    • Sporadic build failures with build-scan due to an overlapping ID assignment https://github.com/gradle/gradle/pull/10286
    • Prevent StackOverflowException caused by excessive 'or' via PatternMatcher #​10330

    We recommend that you use Gradle 5.6.3 over any other 5.6.x release.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.3 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.3

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.2: 5.6.2

    This bug-fix release contains changes to Gradle 5.6.1:

    • Duplicate entry in generated .classpath file in Gradle >= 5.6 (#​10393)
    • Memory leak when using tasks that use Worker API and process isolation (#​10411)

    We recommend that you use Gradle 5.6.2 over 5.6.1.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.2 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.2

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.6.1: 5.6.1

    This bug-fix release contains changes to Gradle 5.6:

    We recommend that you use Gradle 5.6.1 over 5.6.

    Upgrade Instructions

    Switch your build to use Gradle 5.6.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.6.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.5.1: 5.5.1

    This bug-fix release contains three changes to Gradle 5.5:

    • Combination of errorprone-gradle-plugin and options.fork = true causes Java compilation to fail in Gradle 5.5 #​9897
    • Using dependency declaration gradleKotlinDsl() fails with 5.5 #​9919
    • Chain of transitives aligned by same platform can lead to broken resolution #​9882

    We recommend that you use Gradle 5.5.1 over 5.5.

    Upgrade Instructions

    Switch your build to use Gradle 5.5.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.5.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.4.1: 5.4.1

    This bug-fix release contains two changes to Gradle 5.4:

    We recommend that you use Gradle 5.4.1 over 5.4.

    Upgrade Instructions

    Switch your build to use Gradle 5.4.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.4.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.3.1: 5.3.1

    This bug-fix release contains several changes to Gradle 5.3, notably:

    We recommend that you use Gradle 5.3.1 over 5.3.

    Upgrade Instructions

    Switch your build to use Gradle 5.3.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.3.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

    v5.2.1: 5.2.1

    This bug-fix release contains several changes to Gradle 5.2, notably:

    We recommend that you use Gradle 5.2.1 over 5.2.

    Upgrade Instructions

    Switch your build to use Gradle 5.2.1 by updating your wrapper properties:

    ./gradlew wrapper --gradle-version=5.2.1

    Standalone downloads are available at https://gradle.org/install.

    Reporting Problems

    If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Detected dependencies

    gradle
    gradle.properties
    settings.gradle
    build.gradle
    • com.android.tools.build:gradle 3.4.1
    app/build.gradle
    • androidx.appcompat:appcompat 1.0.2
    • androidx.constraintlayout:constraintlayout 1.1.3
    toast/build.gradle
    • androidx.appcompat:appcompat 1.0.2
    gradle-wrapper
    gradle/wrapper/gradle-wrapper.properties
    • gradle 5.1.1

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
  • Update dependency com.android.tools.build:gradle to v3.6.4

    Update dependency com.android.tools.build:gradle to v3.6.4

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.android.tools.build:gradle (source) | 3.4.1 -> 3.6.4 | age | adoption | passing | confidence |


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Releases(1.3)
Owner
Arash Hatami
Programmer / DevOps / Network Eng
Arash Hatami
Android : IamToast Another Toast library for Android

Android : IamToast Another Toast library for Android Warning. toast custom view is deprecated since android 11(R) Setup allprojects { repositories

null 2 Jun 12, 2022
A library that extends the Android toast framework.

SuperToasts Library The SuperToasts library enhances and builds upon the Android Toast class. This library includes support for context sensitive Supe

John Persano 2.7k Dec 29, 2022
In-layout notifications. Based on Toast notifications and article by Cyril Mottier (http://android.cyrilmottier.com/?p=773).

Android AppMsg (Crouton) Library Implementation of in-layout notifications. Based on Toast notifications and article The making of Prixing #4: in-layo

Evgeny Shishkin 1.4k Nov 25, 2022
An Android Toast replacement, similar to the one seen in the GMail app.

MessageBar An Android Toast replacement, similar to the one seen in the GMail app. Multiple messages can be posted in succession, and each message wil

Simon Vig Therkildsen 555 Nov 25, 2022
🍞 The missing toast library for Android.

Literally Toast ?? A toast library for Android. Usage: ?? Use the LitToast to get lit and show your users a proper toast. LitToast.create(context, "My

David Voiss 229 Nov 25, 2022
Toastie is a customizable Android toast library.

Toastie Getting Started Gradle Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: Note

Burak Fidan 36 Apr 3, 2021
Android Custom Toast

Super Toast Library Written Purely in Kotlin ❤️ Usual Toast but with super powers!!! ?? A Fully Customised and Customisable Toast. ]( https://android-

null 26 Dec 27, 2022
Attractive, stylish and customizable toast library for Android.

FabToast min SDK 16 (Jelly Bean 4.1) written in Java To download the demo app for this library from Google Playstore so you can see it in action, clic

Dean Spencer 11 Feb 14, 2022
Customizable toast message library for Android

Android Custom Toast Message (SnToast) Customizable Toast Message Library For Android Add this in your root build.gradle file allprojects { reposito

null 9 Nov 15, 2021
The usual Toast, but with steroids 💪

Toasty The usual Toast, but with steroids. Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { r

null 6.4k Jan 9, 2023
A really simple library that help you to display a custom toast with many colors (for : success, warning, danger, info, dark, light, primary...etc ), or with rounded corners, or event with image.

CoolToast A really simple library that help you to display a custom toast with many colors (for : success, warning, danger, info, dark, light, primary

null 21 Dec 20, 2022
Simple toast

newlibrary Simple toast Step 1. Add the JitPack repository to your build file allprojects { repositories { ... maven { url 'https://jitpack.io

Aziz Developer 0 Nov 5, 2021
An easy, flexible way to have the toast message displayed.

IToaster Library An easy, flexible way to have the toast message displayed. Download Gradle Add below codes to your root build.gradle file (not your m

Evans Kiptarus Kibet 1 Mar 19, 2022
Custom Toast Library by Google Developer Student Club University of Brawijaya

GDSCToast Custom Toast Library by Google Developer Student Club University of Brawijaya Prerequisites For old version of gradle (before arctic fox upd

Kylix Eza S 6 Sep 15, 2022
MDToast - MaterialDesign Toast library written with Kotlin with lots of extensions to interact easily in contexts

MDToast - MaterialDesign Toast A lightweight Toast library written with Kotlin i

Morteza Omar Mohammady 12 Dec 23, 2022
This custom snack bar will help you display much more personalized app toast

?? Presentation Using the native android class of snack bar. This custom snack bar will help you display much more personalized app

Xavi 4 Dec 8, 2022
An android library for easy implementation of Toasts in Android with easy customisation.

ToastTypeDecore ©️ A library for easy implementation of Toasts in Android with easy customisation. Latest Version : v2.1 Screenshots Success Toast1 Su

Aditya Bavadekar 1 Jul 7, 2022
Context sensitive notifications for Android

Crouton Context sensitive notifications for Android DEPRECATION NOTICE This library has passed it's prime and is now considered deprecated. With the A

Ben Weiss 3k Dec 28, 2022
Custom toasts with color and icon for Android.

Dynamic Toasts A simple library to display themed toasts with icon and text on Android 2.3 (API 9) and above devices. Since v0.4.0, it uses 26.x.x sup

Pranav Pandey 156 Dec 20, 2022