Why do I need to render, WebView.navigate, execute_js or at best "refresh" at all ?
Why can't I just leave that out, and leave the current view as is ?
Why do I need to render, WebView.navigate, execute_js or at best "refresh" at all ?You don't.
Why can't I just leave that out, and leave the current view as is ?
You can.
In Rhodes 2.x, you need to use *some* controller with AsyncHttp, because the only way to receive callbacks is through a controller method. I usually borrow Settings for that. Your controller method doesn't have to call render, redirect, etc. Just handle the response (store it, process it, whatever) and return.
--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhomobile+...@googlegroups.com.
To post to this group, send email to rhom...@googlegroups.com.
Visit this group at http://groups.google.com/group/rhomobile.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "rhomobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rhomobile/nJDM4xL7io0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rhomobile+...@googlegroups.com.
To post to this group, send email to rhom...@googlegroups.com.
Visit this group at http://groups.google.com/group/rhomobile.
For more options, visit https://groups.google.com/groups/opt_out.
The 'old' WebView.execute_js("$.mobile.changePage('index');") is stil supported, but "deprecated", so i'd rather not use it any more ... so for now, I've fallen back to WebView.navigate. What does this actually do in the background to move around in the app ?
'body', 'error_code', 'status', and 'headers'. Pretty irksome to deal with.