ds.getColumnAsList(ds.getColumnIndex("column"))
should be safe on any dataset in 8.0+ - getColumnAsList
accepting an integer is part of the Dataset interface. Note that if the column isn’t found you’ll get an index out of bounds exception.
6 Likes