add search

This commit is contained in:
shaulascr
2025-04-21 05:28:26 +07:00
parent 78b75651ff
commit 4336142e1a
17 changed files with 809 additions and 43 deletions

View File

@ -9,7 +9,11 @@
android:id="@+id/homeFragment"
android:name="com.alya.ecommerce_serang.ui.home.HomeFragment"
android:label="fragment_home"
tools:layout="@layout/fragment_home" />
tools:layout="@layout/fragment_home">
<action
android:id="@+id/action_homeFragment_to_searchHomeFragment"
app:destination="@id/searchHomeFragment" />
</fragment>
<fragment
android:id="@+id/profileFragment"
android:name="com.alya.ecommerce_serang.ui.profile.ProfileFragment"
@ -20,6 +24,16 @@
android:name="com.alya.ecommerce_serang.ui.chat.ChatFragment"
android:label="fragment_chat"
tools:layout="@layout/fragment_chat" />
<fragment
android:id="@+id/searchHomeFragment"
android:name="com.alya.ecommerce_serang.ui.home.SearchHomeFragment"
android:label="Search"
tools:layout="@layout/fragment_search_home">
<argument
android:name="query"
app:argType="string"
app:nullable="true" />
</fragment>
<activity
android:id="@+id/registerActivity"
android:name="com.alya.ecommerce_serang.ui.auth.RegisterActivity"