9 questions
We're testing the open weather web to retrieve data using Retrofit2 By the way, I receive the data well, but there is a part of GSON parsing that I do not know, so I would like to ask you a question {...
When applying Proguard to Android project, Gson encountered a bug, so I'm posting a question.-keepattributes Signature-keepattributes *Annotation*-keep class kr.co.co.company.model.** { *; }-keepclass...
public class MainActivity extends AppCompatActivity {private static final String TAG = MainActivity.class.getSimpleName();TextView tv;String url;StringRequest stringRequest;String data;public static R...
The Viewpager page is on page 5All communicate with http to receive data.But the code seems to overlap too much, so is there a way to deal with it separately? I can't think of anythingpublic class Vie...
public class MovieFragment extends Fragment implements getData { TextView testText; ImageView imageView;@Nullable@Overridepublic View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup...
public class ResultVO<T> { public Result result; public Result getResult() { return result; } public class Result { public String code; public ArrayList<T> data; public String getCode(...
I want to parse JSON data expressed as a string. I'm using Google Gson.JSON data:jsonLine = { data: { translations: [ { translatedText: Hello world } ] }};Class you want to implement:public class Json...
I'm a beginner at Cotlin.I'm currently using gson in the Cotlin projectGetting the data from the DB server was successfulI checked that it appears as a text in the Recycler view.What I want to do is t...
© 2024 OneMinuteCode. All rights reserved.