Enable marquee effect on Android label


I’m wanting to implement the marquee effect on single line labels in Android.

Ideally, I would like to extend the core “Label” module and add the relevant API calls.

The API calls would be:


My question:

Does anyone have example code of how I would extend a tns core module so that I can add additional properties and API calls?

The idea is to inherit all the functionality that already exists, but just add some extra Android-specific API calls. I would need to do the same for iOS.

If this is not possible, then I guess I’ll need to create a PR on the Label tns core module.


Hi Steven, do you find any solution for the marquee effect?


This article might be of your interest

you can use the information in that article to learn how to extend existing components as a reusable plugin.

It’d be nice if you make that and share it with the community!
If you need help with it, let me know.