This library allows you to use the network stack provided by the nextcloud app. Therefore you don't need to ask for the users credentials anymore as well as you don't need to worry about self-signed ssl certificates, two factor authentication, etc.
How to use it?
--------------
1) Add this library as a submodule to your project (TODO release this lib on jitpack)
Enjoy! If you're already using retrofit, you don't need to modify your application logic. Just exchange the API and you're good to go!
4.2) Without Retrofit
NextcloudAPI provides a method called `performNetworkRequest(NextcloudRequest request)` that allows you to handle the server response yourself.
5) Enjoy! If you're already using retrofit, you don't need to modify your application logic. Just exchange the API and you're good to go!
# But... I don't use retrofit..
Well.. no worries, the NextcloudAPI provides a method called `performNetworkRequest(NextcloudRequest request)` that allows you to handle the server response yourself.