Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache details of the contest tab. #27

Open
ManasviPatidar opened this issue Jun 15, 2020 · 1 comment
Open

Cache details of the contest tab. #27

ManasviPatidar opened this issue Jun 15, 2020 · 1 comment
Assignees

Comments

@ManasviPatidar
Copy link
Member

Store "response.body" in shared pref.

@ManasviPatidar ManasviPatidar self-assigned this Jun 15, 2020
@ManasviPatidar ManasviPatidar removed their assignment Sep 29, 2020
@Chintan-K
Copy link

I stored response.body in shared pref. by using:

SharedPreferences pref = await SharedPreferences.getInstance();
    String contestData = jsonEncode(jsonResponse);
    pref.setString('contestData', contestData);

but dont know where to load the data, can I get help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants