Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6542589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:14:45+00:00 2026-05-25T11:14:45+00:00

I show the toast, it doesn’t disappear, even after the app is closed. How

  • 0

I show the toast, it doesn’t disappear, even after the app is closed. How do I fix?

@Override
public void onClipStoreLoadedClipsNotification(ClipStoreLoadedClipsNotification notif) 
{
    final ClipStoreLoadedClipsNotification notification = notif;

    runOnUiThread(new Runnable() {
        @Override
        public void run() 
        {
            Dialogs.DismissAll();
            list.onRefreshComplete();
            TextView text = (TextView)findViewById(R.id.loadclipstext);
            ProgressBar pb = (ProgressBar)findViewById(R.id.loadclipsprogress);

            if (notification.moreClipsAvailable)
            {
                text.setText(context.getString(R.string.loading_clips));
                pb.setVisibility(View.VISIBLE);
            }
            else
            {
                text.setText(context.getString(R.string.no_clips));
                pb.setVisibility(View.INVISIBLE);
                int duration = Toast.LENGTH_SHORT;
                Toast.makeText(SugarLoafContext.playbackTabContext, "No clips found.", duration).show();
            }

            SugarLoafContext.currentCamera = notification.camera;
            clipList = notification.clips;

            refreshListView();
            readyToLoadMoreClips = true;
            if (!firstClipsLoaded)
                firstClipsLoaded = true;
        }
    });


}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:14:46+00:00Added an answer on May 25, 2026 at 11:14 am

    The only explanation is that your Toast is called in a loop. You should track the toast .show() and see if it is not called an infinite times.

    An other visual way would be to do this

     Toast.makeText(SugarLoafContext.playbackTabContext, "No clips found.", duration).show();
     Toast.makeText(SugarLoafContext.playbackTabContext, "Do you understand now?", duration).show();
    

    I am sure you will see both toast alternatively during a looong time…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My toast doesn't show up until after the file has completed downloading (I commented
I want to show a Toast right after the user clicks on a CheckBoxPreference
I want my activity to take smaller area of the screen e.g. toast doesn't
I have a broadcast receiver and I am trying to show a toast message
show grants for charm@'localhost'; ---------------------+ | Grants for charm@localhost | +-----------------------------------------------------------------------------------------------------------------+ | GRANT USAGE
This .show and .hide works great in Firefox 3 but not in IE 7.
YQL SHOW TABLES has CSV and HTML. What about a table for Apache access
To show the complete list of available colors, one has to click the color
I show to user a list of categories, he must choose one. How to
MessageBox.Show((some_string.Length).ToString); I am getting two errors for this: The best overloaded method match for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.