Extension IDE: List<String>

extension

(Etuel) #1

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


(Pavitra Golchha) #2

Yes, Lists are allowed


(Etuel) #3

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


(Pavitra Golchha) #4

You need to import this

import java.util.*;

(Etuel) #5

Thanks, that worked quite well!


(system) closed #6

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