Skip to content

Replace Toast with Snackbar #1999

Closed
@abhishekbisht1429

Description

@abhishekbisht1429

Actual Behaviour

Currently brief messages at some places in the app use Toast to display brief messages to the user.

Expected Behaviour

According to android documentation -

Snackbar is now the preferred way to display brief, transient messages to the user.

https://developer.android.com/training/snackbar/

Therefore it would be better to replace the Toast with Snackbar, as it is possible that in the future the support for Toast might end.

Steps to reproduce it

  • Toast is displayed when the user tries to exit the app
  • Toast message is displayed when the user tires to use an option which requires PSLab device without actually connecting the PSLab device.

LogCat for the issue

N/A

Screenshots of the issue
toast_issue1

toast_issue3

toast_issue4

Would you like to work on the issue?
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions