Someone could tell me more about custom views on LL?
Someone could tell me more about custom views on LL? The APIs contains only some public methods, the “web-view widget” script doesn’t work (I don’t know how) and this section is empty xD
]]>
« How can I set a Lightning Launcher variable using tasker? (Previous Post)
< ![CDATA[
You need to configure the “Create script” (an “Destroy script” if needed) events for the custom view.
In the Create script you need to return an android View. If you long tap on the “Create script” setting, you will get a sample code.
]]>
< ![CDATA[
Pierre Hébert wow, useful the help function. I forgot about that. Really thanks!! One more question, if the create script “build” the view in the item, what exactly does the destroy script?
EDIT: Oh, I was forgetting this too
So I can also use the onClickListener function, right?
]]>
< ![CDATA[
The destroy script is optional, use it if you need to do some cleaning, such as unregistering services from the android framework. Yes setting a click listener works.
]]>