from jnius import autoclass
ArrayList = autoclass("java.util.ArrayList")
md = ArrayList()
md.add(b'hello')
md.add(b'world')
print(type(md.get(0))) # should be bytes, but is str
print(md.get(0)) # should be b'hello', but is 'hello'
Added bytes to ArrayList, but got str back.
Is it possible to get it fixed?
Added bytes to ArrayList, but got str back.
Is it possible to get it fixed?