busky/app
Nik Clayton ee765a3117
Convert AccountViewHolder from Java to Kotlin (#3044)
* Convert AccountViewHolder from Java to Kotlin

Use view binding in the converted code, which requires small changes in code
that calls constructors.

Pass showBotOverlays as a parameter, rather than having the code reach in to
the shared preferences, fixing a layering violation. This affects callers
and classes derived from AccountAdapter.

* Use 2-arg getString

* Simplify setting bot badge indicator

- Specify the drawable in the XML
- Use visible() to set visibility
- Rename ID to account_bot_badge to make it clearer that this is all it is for

* Use lateinit to avoid needing !! later
2022-12-28 19:07:43 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase Status: Display indicators of edited posts (#2935) 2022-12-03 12:15:54 +01:00
src Convert AccountViewHolder from Java to Kotlin (#3044) 2022-12-28 19:07:43 +01:00
.gitignore
build.gradle replace Manifest package with Gradle namespace (#3007) 2022-12-06 20:32:26 +01:00
proguard-rules.pro add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00