- Remove XingApi's resource function
- See
GETTING_STARTED_ANDROID
for usage. The reasons for this change are:XingApi
is a dependency of anyResource
, therefore it doesn't make sense that the former provides or holds a Resource in any way.XingApi
also used to hold a cache of resources, this could potentially cause problems if an implementation would contain any mutable state inside, as it would be propagated to further calls to theresource
function.- Finally, this function used to sometimes rely on reflection, which is not mentioned anywhere and leads to runtime crashes when the target implementation Proguard's strips out the resources.
- See
- Update moshi to 1.8.0
- Update minSdk to 21
- Update targetSdk to 28
- Update supportLib to 28.0.0
- Update build tools to 28.0.3
- Update kotlin version to 1.3.20
- Fix internal parsing mechanism to work with moshi 1.2.0 and higher.
- Rename
XingApi#converter()
toXingApi#moshi()
- Initial Release of the XING API Client Version 2.0.0