Android Facebook RequestListener

Posted by Marcus King on Stack Overflow See other posts from Stack Overflow or by Marcus King
Published on 2012-06-09T04:25:12Z Indexed on 2012/06/09 4:40 UTC
Read the original article Hit count: 183

Filed under:
|
|

I'm new to Java, but have been a .NET developer for years now and I am a bit confused about the point of the RequestListener object as I can't retrieve the results of my asynchronous calls on the UI thread from what I can tell. My research has told me I should not use singletons or the application context object for getting and storing data. I could use sqlLite, but the data I need is too transient to bother. I would like to know how to have the asyncfacebookrunner object report back it's responses to the UI thread so I can proceed to make decisions between my own api and the objects returned to me from the facebook calls I am making in the async calls.

Am I missing something? I can't seem to find a way to get data out. I can pass a Bundle in, but I'm not too sure how to get data out. I would think I would pass it an Intent object to retrieve, but I am not seeing it. I think my eyes are crossed from lack of sleep at this point. Any help here?

© Stack Overflow or respective owner

Related posts about java

Related posts about android