My extension is compiling but after use in app,it is showing runtime error

Really sorry if i am annoying.

Please correct the object to Object.

Which IDE do you use?

It's okay but should first test everything.

1 Like

Thank you for the code that you share @vknow360,
I've tried it and your code 100% works perfectly. :grin: :+1:

This is the code I've tried :

   @SimpleFunction(description="")
   public YailList RemoveItem(YailList yailList, int index){

     List list = new ArrayList<>();
     String[] sArray = yailList.toStringArray();
       for (String s:sArray){
         list.add(s);
       }
     list.remove(index - 1);//now you can add and remove items
     return YailList.makeList(list);

   }
3 Likes

I know it is only an example, but... :grin:

Taifun

7 Likes