You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
16 lines
210 B
Python
16 lines
210 B
Python
import jni
|
|
try:
|
|
ArrayList = jni.cls("java/util/ArrayList")
|
|
except:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
l = ArrayList()
|
|
print(l)
|
|
l.add("one")
|
|
l.add("two")
|
|
|
|
print(l.toString())
|
|
print(l)
|
|
print(l[0], l[1])
|