I am using RequestFactory with appengine and android. And the response
is returned quite quickly but I do not get the onSuccess() callback
until much later (1-2 mins or sometimes 4 minutes).

About 8 objects are returned without about 10 fields in each. Has
anyone solved or know something about this issue?

Here is the calling code:
        private void getEvents(final int getPage) {
                WhichFestivalRequestFactory factory =
Util.getRequestFactory(getApplicationContext(),
WhichFestivalRequestFactory.class);

                factory.eventRequest().findTopEvents(pageStart,
pageEnd).with("images", "websites").fire(new
Receiver<List<EventProxy>>() {
                        @Override
                        public void onSuccess(List<EventProxy> upcomingEvents) {
                                checkForMore(upcomingEvents, getPage);
                        }

                        @Override
                        public void onFailure(ServerFailure error) {
                                super.onFailure(error);
                        }
                });
        }


My question is the same as here.
http://stackoverflow.com/questions/7738486/requestfactory-slow-on-android


The original talk at IO this year:
http://youtu.be/M7SxNNC429U

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to