{"repo":"pranavpandey/dynamic-toasts","free":true,"listed":false,"github":"https://github.com/pranavpandey/dynamic-toasts","clone":"git clone https://github.com/pranavpandey/dynamic-toasts.git","description":"Custom toasts with color and icon on Android.","language":"Java","stars":165,"topics":["android","library","toast","custom","icon","text","error","warning","hint","material-design"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Dynamic Toasts A simple library to display themed toasts with icon and text on Android 2.3 (API 9) and above. [!IMPORTANT] Since v0.4.0, it uses [26.x.x support libraries][android-support] so, minimum SDK will be Android 4.0 (API 14). Since v2.0.0, it uses [AndroidX][androidx] so, first [migrate][androidx-migrate] your project to AndroidX. Since v4.1.0, it is dependent on Java 8 due to the dependency on [Dynamic Utils][dynamic-utils]. Since v4.2.0, it is targeting Java 17 to provide maximum compatibility. Since v4.3.0, the minimum SDK is Android 4.4 (API 19) to comply with the latest policies. --- Contents - Installation - Usage - Configuration - Default toast - Default toast with duration - Default toast with icon - Default toast with icon and duration - Error toast - Error toast with duration - Success toast - Success toast with duration - Warning toast - Warning toast with duration - Custom toast - Custom toast with duration - Custom toast with icon - Custom toast with icon and duration - Cheat sheets - Dependency - License --- Installation It can be installed by adding the following dependency to your build.gradle file: --- Usage It has several method to display toasts based on the requirement. Each method returns a Toast object which can be customised further. Please call show() method to display the toast. For a complete reference, please read the [documentation][documentation]. Configuration Optional configuration to customise the toasts further like custom background ","default_branch":null,"files":null,"tree":[],"storefront":"/r/pranavpandey","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pranavpandey/dynamic-toasts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}