Important Please Asap
Thank you for your reply....
I am reviewing the Sliding Panels Sample now, as it is described as ...
"
You can delegate any event. See this example: Android SlidingPanels" and since I am interested in your proposed solution :
#1 Delegate the events from the activity to the code module. The activity that handles the event must be active for this to work.
That last sentence WILL become
much more important when I get to the various settings screens and supporting screens which will all assuredly have to make their own web service calls to push and pull data!
REDUNDANCY !!!! :BangHead::BangHead:
However ::
Can anyone please give me little nudge in the right direction,,, I don't quite "SEE" either your solutions as described yet.
:sign0085:
CallSub from the documentation:
"allows an activity to call a service sub or a service to call an activity sub. It cannot be used to call methods in a Code module"
Are you saying the Service module can use CallSub2 ( its currently using version 2 of the CallSub method) to invoke the CallbackActivity & CallbackUrlDoneSub
Which can in turn be defined in my main activity ::: as existing in another module not the main module ?? I'm really confused now
HttpUtilsService::
CallSub2(HttpUtils.CallbackActivity, HttpUtils.CallbackUrlDoneSub, taskToRequest.Get(TaskId))
Main:
Activity_Create:
HttpUtils.CallbackActivity = "rfCartDataWebService" ' Something Other Than MAIN
HttpUtils.CallbackJobDoneSub = "JobDone"
HttpUtils.CallbackUrlDoneSub = "UrlDone"
Or perhaps--> in the HttpUtilsService your saying I can call something directly in another code module INSTEAD of using CallSub to get back to the defined methods for HttpUtils as defined in the Activity_Create of the Main .....
INSTEAD I just "Brute Force" in the HttpUtilsService call, another code modules subs ??
:sign0085:
OK I'm describing this but I'd assuredly have to follow my own little description to actually try to code this out because I'm still very confused !!
Thank You so much for your help in grasping these concepts ..