Android Question Cancel download OkHttpUtils2

RequestManager is the way to go.

Making requests from activities is problematic and will cause you all kinds of problems. Best to switch to B4XPages.
Second best, is to create a class, initialized from the starter service and make the requests in that class. This will allow you to use RequestManager.

Thank you Erel,
I decided to follow your advice and use B4XPages for my project, much easier and more intuitive to program.
Just a doubt, is it possible to create a subtitle in the actionbar in B4XPages? I used AppCompact in the old version.
 
Upvote 0
Top