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

Android: cleanup implementation (remove deprecated async task, share code between old/new architecture, prevent crashes on curson management) #752

Open
EnricoMazzu opened this issue Sep 26, 2024 · 0 comments

Comments

@EnricoMazzu
Copy link

EnricoMazzu commented Sep 26, 2024

Step of rewark:

  1. Remove usage of deprecated AsyncTask
  2. use try with close instead of try - finally
  3. add check to prevent crashes in cursor read (invalid indexing or other similar condition)
  4. Check if create a Impl class for prevent code duplication between old and new architecture

NB: work on implementation , not on apis contract ->No breaking changes

I will submit a pull request in the next days

@EnricoMazzu EnricoMazzu changed the title Android Implementation: Remove usage of Async Task, add checks to prevent crashes on cursor read (ex invalid indexes) Android: cleanup implementation (remove deprecated async task, share code between old/new architecture, prevent crashes on curson managenet Sep 26, 2024
@EnricoMazzu EnricoMazzu changed the title Android: cleanup implementation (remove deprecated async task, share code between old/new architecture, prevent crashes on curson managenet Android: cleanup implementation (remove deprecated async task, share code between old/new architecture, prevent crashes on curson management) Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant