gson tag

9 questions


2 answers
136 views
0
Open Weather Web GSON Parsing

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 {...

1 years ago

1 answers
89 views
0
Error when applying Gson guide.

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...

1 years ago

1 answers
131 views
0
I have a question for Android Volley.

public class MainActivity extends AppCompatActivity {private static final String TAG = MainActivity.class.getSimpleName();TextView tv;String url;StringRequest stringRequest;String data;public static R...

1 years ago

1 answers
146 views
0
I have a question about Android viewpager.

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...


2 answers
127 views
0
When sending json data to ajax...

When sending json data to ajax, I'm sending you the data in the form below.It's for dividing data by each key and list in Java. How should I receive it? I'd appreciate your help.[{QNo:1,qType:1,qText:...

1 years ago

1 answers
95 views
0
I'd like some help with Volley + Gson

public class MovieFragment extends Fragment implements getData { TextView testText; ImageView imageView;@Nullable@Overridepublic View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup...


1 answers
71 views
0
Retrofit2+GsonConverter Generic Type Auto-Converting

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(...

1 years ago

1 answers
106 views
0
I would like to parse JSON using Gson.

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...

1 years ago

1 answers
85 views
0
Open a web page when you click [Cotlin] and insert a page address variable

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.