Migrated Explore Package From Butterknife to ViewBinding (#5592)

* Butterknife to ViewBinding
* code cleanup and tests migrated to binding
* tests fixed
* adjustments and code cleanup
This commit is contained in:
Shashank Kumar 2024-03-12 02:18:37 +05:30 committed by GitHub
parent 7b63185d5a
commit 2076bf9b29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 246 additions and 355 deletions

View file

@ -15,7 +15,9 @@
android:layout_height="wrap_content"
android:background="?attr/mainBackground">
<include layout="@layout/toolbar"/>
<include
android:id="@+id/toolbarBinding"
layout="@layout/toolbar"/>
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
@ -44,4 +46,4 @@
android:layout_below="@id/toolbar_layout" />
</RelativeLayout>
</androidx.drawerlayout.widget.DrawerLayout>
</androidx.drawerlayout.widget.DrawerLayout>

View file

@ -67,7 +67,7 @@
app:elevation="@dimen/dimen_6" />
<include
android:id="@+id/bottom_sheet_details"
android:id="@+id/bottom_sheet_details_binding"
layout="@layout/bottom_sheet_details_explore" />
<ProgressBar
@ -78,4 +78,4 @@
android:visibility="gone"
app:elevation="@dimen/dimen_6" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Authors:
* Winston Sung
-->
<resources>
<string name="crash_dialog_title">同享壞咗</string>
<string name="crash_dialog_text">哎呀。出咗錯!</string>
<string name="crash_dialog_ok_toast">多謝你!</string>
</resources>