equivalent to push() or pop() for arrays?

前端 未结 5 1410
傲寒
傲寒 2020-12-13 11:54

I am trying to add, remove and reference items from an array I create in my main java file, but I am having trouble figuring out the correct syntax. In actionscript they ha

5条回答
  •  孤城傲影
    2020-12-13 12:39

    Use Array list http://developer.android.com/reference/java/util/ArrayList.html

提交回复
热议问题