Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

disable auto hide #112

@pishguy

Description

@pishguy

how can i disable auto hide by duration? i want to hide that after finish some process for example:

toast = SuperActivityToast.create(ActivityRegister.this,
        new SuperToastStyle(),
        SuperToastStyle.TYPE_PROGRESS_BAR, 0)
        .setProgressBarColor(Color.WHITE)
        .setHeight(142)
        .setText(AndroidUtilities.getString(R.string.please_try_again, context))
        .setFrame(SuperToastStyle.FRAME_LOLLIPOP)
        .setColor(PaletteUtils.getSolidColor(PaletteUtils.MATERIAL_INDIGO))
        .setIconPosition(SuperToastStyle.ICONPOSITION_RIGHT)
        .setAnimations(SuperToastStyle.ANIMATIONS_FADE);

toast.show();
//get data from server
toast.hide();

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