5

Hello fellow Devs,

I have developed a small Android library for handling HTTP POST and GET requests. Anyone who is looking for an easy way to perform HTTP calls, can use this library. It supports post requests with JSON and Multipart Form data, file uploading and Get request with URL parameters.

Hope it will help you guys.

https://github.com/shubhadeepb14/...

Comments
  • 1
    'new HTTPLib().new JSONPostUtility(...)'
    What's up with this weird 'new'? I've never seen anything like it, do you have some lecture on it?
  • 0
    Dude there is only one java file? What's up with that. Why have you written all classes in the same java file.
  • 0
    What problem does this library solve?
    What new feature does this library provide?
    What hard task does this library make easy?

    At least, one of those questions must be answered by any new library.
  • 0
    @Emphiliis well, that's how you initiate a nested class in Java.
  • 1
    @thevariableman so that people can copy and paste the entire code into their projects
  • 0
    @lazyDev one can copy paste the whole library. No need to put a fancy dependency in the gradle build.
  • 1
    @shubhadeepb a nested non static class, I assume? Because a nested static class can be initiated simply with new A. B()
  • 0
    @Emphiliis yeah, that's a non-static class. But I think I can make it static. Will check.
Add Comment