Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-894

RestAdapter has undocumented interactions with UI thread

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0
    • None
    • android
    • None

    Description

      The RestAdapter class leans on AsyncTask to handle networking. This makes it very easy to work with Activities in the UI, but it means that calls made off the UI thread (such as from a service) don't work correctly. Specifically, the callback will be fired on the UI thread.

      *If the UI thread is blocked the callback will not happen.*

      Attachments

        Activity

          People

            supittma@redhat.com Summers Pittman (Inactive)
            supittma@redhat.com Summers Pittman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: