What is the most simple way to implement persistent cookie store on retrofit? Now I am using this:
cookieManager = new CookieManager();
cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ALL);
CookieHandler.setDefault(cookieManager);
but I need cookies to be saved and restored any other time.