erros with making a list in Android? -


i trying simple, make list store integer values

public list<int> mylist = new list<int>(); 

this attempt @ makeing list , error message:

syntax error on token "int", dimensions expected after token

so how make list in android?

list interface, cannot instantiate. must use arraylist

list<integer> mylist = new arraylist<integer>(); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -