Extension IDE: List<String>

Hello everyone,

I have a question regarding the Kodular IDE. Is it possible to use Lists?

Example:
  public List<String> GetListGames(String XMLReceivedContent) {	
  List<String> GameIDs = new ArrayList<String>();
    return GameIDs;
  }

Thank you for your time.

Regards

Yes, Lists are allowed

Do I need to import any specials library? Because right now my code example returns an error during compilation.

You need to import this

import java.util.*;

Thanks, that worked quite well!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.