Should I create inner class here or leave as is?

Posted by AndroidNoob on Programmers See other posts from Programmers or by AndroidNoob
Published on 2011-01-12T19:35:54Z Indexed on 2011/01/12 19:58 UTC
Read the original article Hit count: 188

Filed under:
|

Folks, I have two separate classes. One of them makes http requests/receives response to/from a server and the second one converts received JSON objects into my models (separate classes). I'm thinking it would be an idea to include this class for data converting as an inner class of my first class. Wouldn't my first class be extra big because of it and I need to leave everything as is or this is a good common practice to behave like that?

© Programmers or respective owner

Related posts about java

Related posts about best-practices