Ok, I'm publishing it (remember: I have to drink coffee, so use now the link in my signature
).
You can see the description of this library in the next ("older") lines of this post.
I later added the ability to activate (/resume) /pause the counter by clicking (or tapping) on the View (it's optional, it's a property (*)).
PROPERTIES:
METHODS:
EVENTS:
_______________________________________________________________________________________________________________________________________________
_______________________________________________________________________________________________________________________________________________
I am undecided whether to publish this custom view or not (I am also undecided about its name). If you like it, if you find it useful.
It is a time counter or "elapsed time".
You can:
decide whether to display the milliseconds / hours numbers or not;
change the colors;
border and corners;
pause and resume.
Oops, I almost forgot something important (not done yet): the font property. Later.
BTW, used for a (famous) little game created for testing (to test ChatGPT capabilities).

You can see the description of this library in the next ("older") lines of this post.
I later added the ability to activate (/resume) /pause the counter by clicking (or tapping) on the View (it's optional, it's a property (*)).
PROPERTIES:
- ActOnClick (*)
- BGColor - Background color
- BorderColor
- BorderWidth
- ElapsedTime
- ElapsedTimeString
- CornerRadius
- FontSize
- LabelFont
- Paused
- ShowMilliseconds
- ShowHours
METHODS:
- StartCounter
- StopCounter
- PauseCounter
- ResumeCounter
EVENTS:
- Click
- ElapsedTimeChanged
- StateChanged
_______________________________________________________________________________________________________________________________________________
_______________________________________________________________________________________________________________________________________________
It is a time counter or "elapsed time".
You can:
decide whether to display the milliseconds / hours numbers or not;
change the colors;
border and corners;
pause and resume.
Oops, I almost forgot something important (not done yet): the font property. Later.
BTW, used for a (famous) little game created for testing (to test ChatGPT capabilities).
Attachments
Last edited: