Convert ForeignCollection to ArrayList - ORMLite, Gson and Android
问题 I apologize if I'm not super clear with my explanation but I'll add to and edit this question for clarity if requested. I am developing an Android app which receives data through an external API and stores data locally using ORMLite. Prior to storing data locally and using ORMLite I had models which retrieved JSON from the server and parsed it via: Gson gson = new Gson(); String result = ApiClient.httpPost("/user_route"); User user = gson.fromJson(result, User.class); The User class was