All Projects → MrEngineer13 → Snackbar

MrEngineer13 / Snackbar

Licence: apache-2.0
toast-like alert pattern for Android inspired by the Google Material Design Spec

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Snackbar

Iis
Development repository for the iis cookbook
Stars: ✭ 79 (-93.6%)
Mutual labels:  hacktoberfest
Vpk
📦 Open, Search, Extract and Create VPKs in python
Stars: ✭ 79 (-93.6%)
Mutual labels:  hacktoberfest
Cookietemple
A collection of best practice cookiecutter templates for all domains and languages with extensive Github support
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest
Mattermost Plugin Gitlab
GitLab plugin for Mattermost
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Jpeg Decoder
JPEG decoder written in Rust
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Windows exporter
Prometheus exporter for Windows machines
Stars: ✭ 1,230 (-0.32%)
Mutual labels:  hacktoberfest
Plots.jl
Powerful convenience for Julia visualizations and data analysis
Stars: ✭ 1,225 (-0.73%)
Mutual labels:  hacktoberfest
Xrandr Extend
💻➡️ Extend a HIDPI screen to a normal DPI external display
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest
Udoit
The Universal Design Online content Inspection Tool, or UDOIT (pronounced, “You Do It”) enables faculty to identify accessibility issues in Canvas by Instructure. It will scan a course, generate a report, and provide resources on how to address common accessibility issues.
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Ign Gazebo
Open source robotics simulator. Through Ignition Gazebo users have access to high fidelity physics, rendering, and sensor models. Additionally, users and developers have multiple points of entry to simulation including a graphical user interface, plugins, and asynchronous message passing and services. Ignition Gazebo is derived from Gazebo, and represents over 16 years of development and experience in robotics and simulation. This library is part of the Ignition Robotics project.
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest
Betaflight Esc
Open source ESC firmware.
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Greenswitch
Battle proven FreeSWITCH Event Socket Protocol client implementation with Gevent
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Kde
[MIRROR] KDE team's testing overlay
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Pentydesktopassistant
Penty is a small Desktop Assistant programmed with JS and Python as its backend and HTML and CSS as its front. Took just over a month to create v1.0. It has a few features, like an in-built gMail sender and a quick-open browser.
Stars: ✭ 80 (-93.52%)
Mutual labels:  hacktoberfest
Flutter web auth
Flutter plugin for authenticating a user with a web service
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest
Gentoo Rust
[MIRROR] Rust packages
Stars: ✭ 79 (-93.6%)
Mutual labels:  hacktoberfest
Theodinproject
Main Website for The Odin Project
Stars: ✭ 1,227 (-0.57%)
Mutual labels:  hacktoberfest
Noredink Ui
UI widgets we use -- https://noredink-ui.netlify.com/
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest
Dockest
Docker + Jest integration testing for Node.js
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest
Commudle Ng
World's first community management platform. And it's free!
Stars: ✭ 81 (-93.44%)
Mutual labels:  hacktoberfest

SnackBar; toast-like alert pattern for Android inspired by the Google Material Design Spec

SnackBar on Android Arsenal

Mr.Waffle

Deprecated

This library is deprecated in favor of the new Design Support Library which includes a Snackbar. It is due to this development that this library is no longer activly being developed.

Features

  • Set message text and optionally duration
  • Shows only one message at a time
  • Can have action item (e.g. undo, refresh, etc.)
  • Set text color of action items
  • Swipe down to dismiss all notifications as per documentation
  • Backwards compatible to 2.3.x

New Features since 1.0.0

  • Set custom background color
  • Set custom height
  • Set custom typeface

SnackBar Screenshot via Google

SnackBar on Google Play

Usage

  1. Add SnackBar to your project ###Maven Just add the following to your build.gradle.

    dependencies { compile 'com.github.mrengineer13:snackbar:1.2.0' }

  2. Show a message

Build SnackBar in Activity

new SnackBar.Builder(this)
    .withOnClickListener(this)
    .withMessage("This library is awesome!") // OR
    .withMessageId(messageId)
    .withTypeFace(myAwesomeTypeFace)

    .withActionMessage("Action") // OR
    .withActionMessageId(actionMsgId)

    .withTextColorId(textColorId)
    .withBackGroundColorId(bgColorId)
    .withVisibilityChangeListener(this)
    .withStyle(style)
    .withDuration(duration)
    .show();

Build SnackBar in Fragment

new SnackBar.Builder(getActivity().getApplicationContext(), root)
    .withOnClickListener(this)
    .withMessage("This library is awesome!") // OR
    .withMessageId(messageId)
    .withTypeFace(myAwesomeTypeFace)

    .withActionMessage("Action") // OR
    .withActionMessageId(actionMsgId)

    .withTextColorId(textColorId)
    .withBackGroundColorId(bgColorId)
    .withVisibilityChangeListener(this)
    .withStyle(style)
    .withDuration(duration)
    .show();

Using this library?

If you're using this library in one of your projects just send me a tweet and I'll add your project to the list.

Icon Application
Plume
Score It
Lotería Navidad 2014
Journal
My Garage
QuoteMe

Contribution

Pull requests are welcome!

Feel free to contribute to SnackBar.

Just create your branch then submit pull request on the dev branch.

If you have a bug to report a feature to request or have other questions, file an issue. I'll try to answer as soon as I can.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].