how to make model with pojo in android studio
up vote
0
down vote
favorite
Im trying to change from Gson format plugin to pojo.
im used to copy past the response into the gson format and it create whole model for me.
can I do the same with pojo? and if so how pls
android model
add a comment |
up vote
0
down vote
favorite
Im trying to change from Gson format plugin to pojo.
im used to copy past the response into the gson format and it create whole model for me.
can I do the same with pojo? and if so how pls
android model
2
Hi, please provide code that you already have that we can help you with the current issue. If I understand correctly and you want to work with server responses as pojo objects than you can write your own serializers for each pojo.
– aleksandrbel
Nov 9 at 22:14
im not talking about specific response I want to know if its possible to copy past the response and the plugin create the model for me like gson format plugin and sorry for late answer
– user10630797
Nov 10 at 13:41
There are web sites that will do this. I don't think Android studio will.
– nasch
Nov 11 at 0:04
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Im trying to change from Gson format plugin to pojo.
im used to copy past the response into the gson format and it create whole model for me.
can I do the same with pojo? and if so how pls
android model
Im trying to change from Gson format plugin to pojo.
im used to copy past the response into the gson format and it create whole model for me.
can I do the same with pojo? and if so how pls
android model
android model
asked Nov 9 at 21:39
user10630797
2
Hi, please provide code that you already have that we can help you with the current issue. If I understand correctly and you want to work with server responses as pojo objects than you can write your own serializers for each pojo.
– aleksandrbel
Nov 9 at 22:14
im not talking about specific response I want to know if its possible to copy past the response and the plugin create the model for me like gson format plugin and sorry for late answer
– user10630797
Nov 10 at 13:41
There are web sites that will do this. I don't think Android studio will.
– nasch
Nov 11 at 0:04
add a comment |
2
Hi, please provide code that you already have that we can help you with the current issue. If I understand correctly and you want to work with server responses as pojo objects than you can write your own serializers for each pojo.
– aleksandrbel
Nov 9 at 22:14
im not talking about specific response I want to know if its possible to copy past the response and the plugin create the model for me like gson format plugin and sorry for late answer
– user10630797
Nov 10 at 13:41
There are web sites that will do this. I don't think Android studio will.
– nasch
Nov 11 at 0:04
2
2
Hi, please provide code that you already have that we can help you with the current issue. If I understand correctly and you want to work with server responses as pojo objects than you can write your own serializers for each pojo.
– aleksandrbel
Nov 9 at 22:14
Hi, please provide code that you already have that we can help you with the current issue. If I understand correctly and you want to work with server responses as pojo objects than you can write your own serializers for each pojo.
– aleksandrbel
Nov 9 at 22:14
im not talking about specific response I want to know if its possible to copy past the response and the plugin create the model for me like gson format plugin and sorry for late answer
– user10630797
Nov 10 at 13:41
im not talking about specific response I want to know if its possible to copy past the response and the plugin create the model for me like gson format plugin and sorry for late answer
– user10630797
Nov 10 at 13:41
There are web sites that will do this. I don't think Android studio will.
– nasch
Nov 11 at 0:04
There are web sites that will do this. I don't think Android studio will.
– nasch
Nov 11 at 0:04
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233588%2fhow-to-make-model-with-pojo-in-android-studio%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Hi, please provide code that you already have that we can help you with the current issue. If I understand correctly and you want to work with server responses as pojo objects than you can write your own serializers for each pojo.
– aleksandrbel
Nov 9 at 22:14
im not talking about specific response I want to know if its possible to copy past the response and the plugin create the model for me like gson format plugin and sorry for late answer
– user10630797
Nov 10 at 13:41
There are web sites that will do this. I don't think Android studio will.
– nasch
Nov 11 at 0:04