Skip to content

refactor: migrate 6 simple activities from findViewById to ViewBinding#190

Open
Forte11Cuba wants to merge 1 commit intocashubtc:mainfrom
Forte11Cuba:refactor/viewbinding-phase1
Open

refactor: migrate 6 simple activities from findViewById to ViewBinding#190
Forte11Cuba wants to merge 1 commit intocashubtc:mainfrom
Forte11Cuba:refactor/viewbinding-phase1

Conversation

@Forte11Cuba
Copy link
Contributor

Summary

  • Migrates 6 simple activities (1-5 findViewById calls each) from findViewById to ViewBinding
  • Establishes the ViewBinding pattern for future migrations
  • No layout XML changes needed — ViewBinding was already enabled in build.gradle.kts

Activities migrated

Activity findViewByIds removed
NfcEnableActivity 1
TokenHistoryActivity 2
PaymentsHistoryActivity 3
BarcodeScannerActivity 4
QRScannerActivity 5
DeveloperSettingsActivity 5

Test plan

  • ./gradlew assembleDebug builds successfully

Closes part of #98 (Phase 1)

Happy to adjust the pattern if you prefer a different approach

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant