chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
749 stars 128 forks source link

Add friendlier syntax for jarray initialization #1058

Open mhsmith opened 6 months ago

mhsmith commented 6 months ago

jarray(Type)([elements]), while consistent, is difficult to read and to type. We should allow jarray(Type, [elements]) as well.

This was previously done, but removed in the commit of 2017-05-26 13:21:02, probably just because I couldn't be bothered testing it properly.