how to customize a base class?

12 views
Skip to first unread message

Rocotoco Rodriguez

unread,
Jul 22, 2017, 1:52:15 PM7/22/17
to CodenameOne Discussions
Shai:

      i want to modify my local version of container to include the double click (tap) to that class. have you any link where i can learn how to do it before offer you to add it to tha project?

regards


If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Shai Almog

unread,
Jul 22, 2017, 11:43:28 PM7/22/17
to CodenameOne Discussions
You can't.
Classes within Codename One are by design fixed.

This is a conceptual decision and an important one.

If you want to support double tap there are two potential directions:

1. Submit a pull request with that feature - we can't guarantee accepting every feature but if it's well written and isolated we generally do

2. Use subclasses of Codename One components e.g. MyForm etc.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages