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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:06:14+00:00 2026-05-29T12:06:14+00:00

I am writing an app for the Blackberry Playbook using Flash Builder 4.6 and

  • 0

I am writing an app for the Blackberry Playbook using Flash Builder 4.6 and flex. I have run into an issue which I am hoping someone may be able to assist me with. It is as follows:

First off, I am making an app that allows a user to browse through various reddit feeds. I am making use of the reddit API, in which you are able to use either JSON or XML formatted data. I am using XML. Within Adobe Flash Builder I have run the ‘Data/Services’ wizard to connect to the data source which pulls in the latest 25 or so entries on Reddit. Then I bound that data to a spark List component which is housed in the view, ‘redditFeed’. You will notice that it uses AsyncListView. This is the code:

redditFeed.mxml

<fx:Script>
    <![CDATA[

public function myList_creationCompleteHandler():void
            {   

                getRedditFeedResult.token = redditFeedGrabber.getRedditFeed("");                    
            }
        ]]>
    </fx:Script>

<fx:Declarations>
        <s:CallResponder id="getRedditFeedResult"/>
        <redditfeedgrabber:RedditFeedGrabber id="redditFeedGrabber"/>
        <s:CallResponder id="redditFeedJSONResult"/>
    </fx:Declarations>

     <s:List id="feedList" width="100%" height="100%" change="myList_changeHandler(event)"
                contentBackgroundColor="#deefff" 
                creationComplete="myList_creationCompleteHandler()">
        <s:AsyncListView id="asyncList" list="{getRedditFeedResult.lastResult}"/>
            <s:itemRenderer>
                <fx:Component>
                    <s:IconItemRenderer iconField="thumbnail" 
                                        iconWidth="64" iconHeight="64"
                                        labelField="title" fontSize="20"
                                        messageField="pubDate"
                                        verticalAlign="top"
                                        iconPlaceholder="{assets.LoadingIcon}">
                        <fx:Script>
                            <![CDATA[
                                import assets.LoadingIcon;
                            ]]>
                        </fx:Script>
                    </s:IconItemRenderer>
                </fx:Component>
            </s:itemRenderer>



        </s:List>

Now for my problem; I have a refresh button named ‘refreshButton’. I would like for the data in the spark List above to be refreshed when a user clicks this button. I have searched far and wide for a solution, to no avail.
So, how am I able to reload the xml data that is bound to the list, and then have the list show this new data?
I appreciate any help you can provide. Please let me know if there is anything more I can provide to help you in assisting me. Thanks!

  • 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-29T12:06:17+00:00Added an answer on May 29, 2026 at 12:06 pm

    All you should have to do is make the same call that’s made in the creation complete handler in your button click handler. Setting the token and making the call again should force a refresh when the ASyncToken gets a result.

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

Sidebar

Related Questions

I'm writing a Blackberry app. I have a custom list field where I can
i am developing app in Blackberry which have GPS Functionality. so first i want
I'm writing a BlackBerry app in Java using the BlackBerry Java API (OS 4.7
I'm writing an app for Blackberry that was originally implemented in standard J2ME. The
I'm writing an app using bottle.py and beaker.middleware.SessionMiddleware : How can I modify the
I'm writing an app using asp.net-mvc deploying to iis6. I'm using forms authentication. Usually
I'm writing an app which for various reasons involves Internet Explorer (IE7, for the
I'm writing android app, which drawing 4 graphs in 1 plot. Graph data is
I am currently writing an app on the Blackberry to do a simple send
I'm writing an app which will rely heavily on the use of a database.

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.