RadarCOVID / radar-covid-android

Native Android app using DP^3T Android sdk to handle Exposure Notifications API from Google
Mozilla Public License 2.0
382 stars 84 forks source link

Fix #5 - Change synthetics to viewbinding 🔑 #29

Closed erikmon closed 3 years ago

erikmon commented 3 years ago

Kotlin synthetic imports for referencing views in activities/fragments have been replaced by viewBinding.

All fragments are implementing Google's advice for avoiding memory leaks. See https://developer.android.com/topic/libraries/view-binding#fragments

The application builds as expected and all views are displayed correctly.

erikmon commented 3 years ago

Resolved conflicts

avecina commented 3 years ago

Kotlin synthetics is an official and totally functional feature and works properly in this project. We appreciate the contribution and we understand the benefits but we are going to go with the simplicity and readability of kotlin synthetics.