How many activites can I create in an App?

raytronixsystems

Active Member
Licensed User
Longtime User
I have read and compiled the two activities app and was wondering how many activites are possible when building an App. I have a Dashboard and at least 8 menu buttons each with distinct activities that I'd like to code - each has it's own panels, layouts, pushputtons, dialog boxes and click events. I would rather split these out into separate modules (Static code modules or classes) rather than all in Main in order to make the code more manageable and reusable for future projects. I was wondering if classes in 2.0 might be my answer but not sure how these relate to click events which cannot be handled by static code modules. I put a dashboard in a second activity module and this works fine when invoked from my main module but want to expand functionality over several modules like I explained above. Any ideas? You help would be greatly be appreciated!

thanks
Ray
 
Last edited:

raytronixsystems

Active Member
Licensed User
Longtime User
Thank you Erel!

I have to brush up on my OO here. I was wondering if you could post a simple example of a class handling an event like a click from a button or something like that. I am waiting for the release of 2.0 and don't have the beta here yet and haven't seen too many class examples up here in the forum. I have plans for putting lots of my code into classes once I fully understand how they would work with b4a.


thanks In Advance,
Ray
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…