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

]]>

3 Commentsto Someone could tell me more about custom views on LL?

  1. Anonymous says:

    < ![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.

    ]]>

  2. Anonymous says:

    < ![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?

    ]]>

  3. Anonymous says:

    < ![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.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *