Sep 18, 2021
Yeah, thanks for your response, i think i should add some null check functionality such as using of kotlin let or using traditional null check ( val != null) , One approach we could do that make variables of data class nullable with @Nullable annotation like this
Class Test(
@Nullable
var name: String?,
@Nullable
var surname: String?)
In this way if value is null it will not crash the application , Now for using library i prefer not to use it as i might not need additional space for thousands of method present in the library just for Rest Api request
Regards