Skip to content

Comments

Fix Android Studio unused import directive warnings in PrevieFix Android Studio warnings: Remove unused imports in PreviewerViewModel.ktwerViewM…#20356

Open
PrathamDevX wants to merge 1 commit intoankidroid:mainfrom
PrathamDevX:fix-androidstudio-warnings
Open

Fix Android Studio unused import directive warnings in PrevieFix Android Studio warnings: Remove unused imports in PreviewerViewModel.ktwerViewM…#20356
PrathamDevX wants to merge 1 commit intoankidroid:mainfrom
PrathamDevX:fix-androidstudio-warnings

Conversation

@PrathamDevX
Copy link

Purpose / Description

Removed unused import directives in PreviewerViewModel.kt identified by Android Studio inspection. This reduces unnecessary IDE warnings and improves code cleanliness without changing functionality.

Fixes

Approach

Removed unused imports reported by Android Studio Inspect Code analysis. No functional or behavioral logic was modified.

How Has This Been Tested?

  • Built the project successfully in Android Studio (latest stable).
  • Ran Code → Inspect Code to verify warnings were removed.
  • Confirmed successful compilation with no runtime issues.

Learning (optional, can help others)

Learned about using Android Studio Inspect Code to identify and resolve IDE warnings and maintain code quality in a large open-source project.

Checklist

  • [ X] You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • [ X] You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

@welcome
Copy link

welcome bot commented Feb 23, 2026

First PR! 🚀 We sincerely appreciate that you have taken the time to propose a change to AnkiDroid! Please have patience with us as we are all volunteers - we will get to this as soon as possible.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Cleanup]: Fix Android Studio Warnings

1 participant