Id'like to save my News in a Room Database. I know how to do it when the data on the Response is List of News but not when it's a NewsList which contains a list of News.
Here is my code :
My API
Id'like to save my News in a Room Database. I know how to do it when the data on the Response is List of News but not when it's a NewsList which contains a list of News.
Here is my code :
My API ,android,kotlin,retrofit2,android-room,dao"/>