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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:52:58+00:00 2026-05-23T11:52:58+00:00

hello when i click tab then my below class named openingtoday fire and i

  • 0

hello when i click tab then my below class named “openingtoday” fire and i want to load data in list view after xml parsing done,my problem is that when i click tab parsing is done by calling new ProgressTask6().execute(); in oncreate() but item is not showing in list view but when i go back and load again then it display list on tab click means load data on second time when i go back ,i think problem is becoz of i make task asynchronous on tab click ..,i make asynchronous bcoz data showing in list view was taking time but now after making it asynchronous it not run MyAdapter class in oncreate() why??pls thanks alot

my code is below..after clicking tab this class fire..

    public class OpeningToday extends ListActivity {
    String name = null;
    String typename = null;
    static String array_type[];
    static int totalartist;
    static String array_galleryname[]=null;
    static String array_address[]=null;
    static String array_galleryurl[]=null;
    static String array_email[];
    static String array_web[];
    static String array_phone[];
    static String array_latitude[];
    static String array_longitude[];
    SitesList2 sitesList;
    static String gallerynames=null;
    static String addresses=null;
    @Override
    public void onCreate(Bundle savedInstanceState) {
  • 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-23T11:52:59+00:00Added an answer on May 23, 2026 at 11:52 am

    Yes i found a little bit mistake in your code due this problem come it is .

    You should set you adapter inside the dialog.onDismiss event like

    dialog.setOnDismissListener(new OnDismissListener() {
                        public void onDismiss(DialogInterface dialog)        {
    
         setListAdapter(new MyAdapter(this));
          }
         });
    

    Then you find solution of your problem.
    I hope this is help.

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

Sidebar

Related Questions

Hello I am using a tab bar application. I want to reload a view
I want after click on button append value hello 2 in tag td with
$('a').click(function(event){ $('body').html('loading...'); $.post('www.sitename.com/hello',{site:http//:www.google.com},function(data) { alert(data); }); event.preventDefault(); }); I am using the above script
My class is defined as below: class NewUser extends Backbone.View template : JST[backbone/templates/events/new] events
Hello All I have used onLongClickListener() to my EditText view but whenever I click
JS: $(.x).click(function() { alert(hello); return false; }); $(#otherdiv).html(<div class='x'>Drag and drop values on the
Hello StackOverflow'ers, I have a (flex) app that, on the click of a button,
<script> $(#test_img).click(function() { alert(Hello); }); </script> But it doesn't matter what mouse button I'm
Hello can anybody solve this please I'm creating the object in the action class
Hello guys, I have a general design problem with iPhone application. I want to

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.