-2
private void loadFromAndToPlaceValues() {
String str = loadJSONFromAsset();
this.places = (List)new Gson().fromJson(str, newTypeToken<List<BusEntity>>().getType());
if (this.places != null && this.places.size() > 0) {
this.places_array = new String[this.places.size()];
for (int i = 0; i < this.places_array.length; i++) {
this.places_array[i] = ((BusEntity) this.places.get(i)).getValue();
}
}
}
ログインを追加してください。また、適切な説明。 –