Skip to the content.

Compiler Warnings Summary

Last Updated: January 27, 2026

Task

Fix 90+ compiler warnings (from TODO.md)

Result

⚠️ Won’t Fix - False Positives

Findings

Root Cause

False positives from Kotlin compiler with ViewBinding:

Examples

// Warning: "Unnecessary safe call"
binding.btnSlideshowCmd?.setOnClickListener { ... }

// BUT btnSlideshowCmd IS nullable - only exists in landscape layout!

Automation Attempts

  1. ❌ Aggressive script - Build failed
  2. ❌ Conservative script - Build failed
  3. ✅ Manual analysis - Confirmed: warnings are correct, code is correct

Recommendation

Leave as-is - warnings are harmless, code is correct.

Alternative: Suppress via @Suppress("UNNECESSARY_SAFE_CALL")

Details

See WARNINGS_ANALYSIS.md

Completed Tasks