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 8530735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:19:06+00:00 2026-06-11T09:19:06+00:00

i have a list in my Android APP and i need to show a

  • 0

i have a list in my Android APP and i need to show a progress dialog when the user click on an item.

I use this code for starting the activity. I tried to put a progressdialog and always fail…

Pasted the code and please tell me your opinion.

    public OnClickListener myClickListener = new OnClickListener() {        

    public void onClick(View v) {   


        String param1 = ((TextView) v.findViewById(R.id.txtdat1))
                .getText().toString();
        String param2 = ((TextView) v.findViewById(R.id.txtdat2))
                .getText().toString();
        String param3 = ((TextView) v.findViewById(R.id.txtdat3))
                .getText().toString();
        String param4 = ((TextView) v.findViewById(R.id.txtdat14))
                .getText().toString();

        Intent intent = new Intent(v.getContext(), AgendaDetail.class);

        intent.putExtra("param1", param1);
        intent.putExtra("param2", param2);
        intent.putExtra("param3", param3);
        intent.putExtra("param4", param4);

        startActivity(intent);

    }
};

Y try tu put something similar to that

        final ProgressDialog dialog = ProgressDialog.show(this, "Loading...",
            "Wait");
    new Thread(new Runnable() {

        public void run() {
            startActivity(new Intent("com.places"));
            dialog.dismiss();
        }
    }).start();
  • 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-06-11T09:19:07+00:00Added an answer on June 11, 2026 at 9:19 am

    You need to write this on the onclick

        ProgressDialog progressDialog = new ProgressDialog(YourActivity.this);
        progressDialog.setMessage("Your message"));
        progressDialog.show(); 
    

    This will help…

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

Sidebar

Related Questions

In my android app I need to do something like this: I have 5
Friends I have a list view.I need to show in this particular way. 14
I have an Android app with a ListActivity in the main view. The list
I have created an ExpandableListView with the following code: <ExpandableListView android:id=@+id/android:list android:layout_width=wrap_content android:layout_height=0dp android:layout_marginTop=5dp
I have an Android activity with a list. Each item can be clicked and
I have an android app with a button. When clicking the button I need
I have an android app that displays a list of items in a Custom
i need to open a pdf file from my android app. I have the
I have recently started making an Android app that requires a list of 20
I have a multiselection ListView in my android app. What I need to know

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.