How to Save And Retrieve Class Object From Shared Preferences Using Gson Library in Kotlin

In this article, we will learn how to Save And Retrieve Class Object From Shared Preferences Using Gson Library in Kotlin. Many times, we need to save an instance of a class that has only fields like Int, Long, Float, Double, String, Boolean and objects of different classes. We use the GSON library that helps us to convert the model class to […]

Begin typing your search term above and press enter to search. Press ESC to cancel.