Skip to content

setDuration  #27

Description

@Mojtaba-Shafaei

setDuration() needs a positive and greater than Zero number, however, all durations are negative or zero.

Android studio error:
code = setDuration(Snacky.LENGTH_LONG)
error =

Must be one of: BaseTransientBottomBar.LENGTH_INDEFINITE, BaseTransientBottomBar.LENGTH_SHORT, BaseTransientBottomBar.LENGTH_LONG or value must be ≥ 1 (was -2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions