B4J Question [BANano] Share a function between classes

Star-Dust

Expert
Licensed User
Longtime User
I am taking my first steps with banana and some things that are probably simple and obvious to me are unknown.

For each page that is placed in a class I use a timestamp function. I would like to avoid repeating it on all classes.
Is there a way to have functions that are shared among all classes?

Can I do as in B4J with a code module and then share the functions on all pages?
 

Star-Dust

Expert
Licensed User
Longtime User
Please first skim through the Demos that Alain did that come with the download.
You're right. I am studying Vuetify and I don't know Banano.
I am trying to translate an old big App of mine that I have translated into many languages including B4A / B4J / B4I / php now also with PWA.
It is very complex, but I want to do it as an exercise to learn Banano better.

I'll look at the Banano examples in the meantime. Thanks for your advice
 
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
You're right. I am studying Vuetify and I don't know Banano.
I am trying to translate an old big App of mine that I have translated into many languages including B4A / B4J / B4I / php now also with PWA.
It is very complex, but I want to do it as an exercise to learn Banano better.

I'll look at the Banano examples in the meantime. Thanks for your advice
You are welcome. On Alains post about BANano, you will also find the link to BANano for Dummies by Example, I had blogged about what I had learned then, it will also help with bootstrapping you.
 
Upvote 0
Top