RetrofitRssConverterFactory | A Retrofit 2 converter which parses Rss feeds
kandi X-RAY | RetrofitRssConverterFactory Summary
kandi X-RAY | RetrofitRssConverterFactory Summary
A Retrofit2 converter which parses Rss feeds.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of RetrofitRssConverterFactory
RetrofitRssConverterFactory Key Features
RetrofitRssConverterFactory Examples and Code Snippets
Community Discussions
Trending Discussions on RetrofitRssConverterFactory
QUESTION
When I set minifyEnabled & shrinkResources
to true
,the Retrofit body JSON request sent is blank, and when it is set to false then it works perfectly fine.
I have posted the whole gradle file so that, you can help me telling what I am doing wrong.
My Retrofit request json body goes like this when minifyEnabled & shrinkResources
is true
:
ANSWER
Answered 2019-Aug-30 at 06:37Since you're using Gson to convert Json to you model, you need to make sure that reflections are working properly on these classes (as I assume you haven't created a custom adapter for these).
The easiest approach to keep the class and field names, you could just annotate the model with @Keep
from AndroidX Annotations:
Denotes that the annotated element should not be removed when the code is minified at build time. This is typically used on methods and classes that are accessed only via reflection so a compiler may think that the code is unused.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install RetrofitRssConverterFactory
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page