I use Customview with clicklistener applied to views, but the click action does not work in Floatingdesktop on V14.

I use Customview with clicklistener applied to views, but the click action does not work in Floatingdesktop on V14. It worked on V12.

]]>
« (Previous Post)
(Next Post) »

5 Commentsto I use Customview with clicklistener applied to views, but the click action does not work in Floatingdesktop on V14.

  1. Anonymous says:

    < ![CDATA[

    It works for me with the following script:


    bindClass(“android.widget.Button”)


    var btn=new Button(item.getScreen().getContext());


    btn.setText(“say hello”);



    btn.setOnClickListener({


    onClick: function(){alert(“hello”);}


    });



    return btn;



    What is your script?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    drive.google.com – cv_applist.txt – Google ドライブ/



    It displays a ListView of apps, and launch app by clicking.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Before LL.startActivity, add:


    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Thanks!!


    I’ll apologize for reporting the bug.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    That’s not your fault. In previous version LL.startActivity wasn’t always using the right context, hence you may not have seen the issue earlier.

    ]]>

Leave a Reply

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