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










share|improve this question

















  • 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














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










share|improve this question

















  • 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












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










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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












  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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





























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Darth Vader #20

How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

Ondo