mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-05 12:01:35 +00:00
Converted SavedViewer activity to fragment
This commit is contained in:
parent
034dbfa147
commit
93fc9d82b9
19 changed files with 818 additions and 764 deletions
|
|
@ -4,11 +4,11 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".activities.SavedViewer">
|
||||
tools:context=".fragments.SavedViewerFragment">
|
||||
|
||||
<include
|
||||
android:id="@+id/toolbar"
|
||||
layout="@layout/layout_include_toolbar" />
|
||||
<!--<include-->
|
||||
<!-- android:id="@+id/toolbar"-->
|
||||
<!-- layout="@layout/layout_include_toolbar" />-->
|
||||
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/swipeRefreshLayout"
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
app:startDestination="@id/discoverFragment">
|
||||
|
||||
<include app:graph="@navigation/post_view_nav_graph" />
|
||||
<include app:graph="@navigation/profile_nav_graph" />
|
||||
|
||||
<action
|
||||
android:id="@+id/action_global_postViewFragment"
|
||||
|
|
|
|||
|
|
@ -52,5 +52,26 @@
|
|||
android:defaultValue=""
|
||||
app:argType="string"
|
||||
app:nullable="true" />
|
||||
<action
|
||||
android:id="@+id/action_profileFragment_to_savedViewerFragment"
|
||||
app:destination="@id/savedViewerFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/savedViewerFragment"
|
||||
android:name="awais.instagrabber.fragments.SavedViewerFragment"
|
||||
android:label="Saved"
|
||||
tools:layout="@layout/fragment_saved">
|
||||
<argument
|
||||
android:name="username"
|
||||
app:argType="string"
|
||||
app:nullable="false" />
|
||||
<argument
|
||||
android:name="profileId"
|
||||
app:argType="string"
|
||||
app:nullable="false" />
|
||||
<argument
|
||||
android:name="type"
|
||||
app:argType="awais.instagrabber.models.enums.PostItemType"
|
||||
app:nullable="false" />
|
||||
</fragment>
|
||||
</navigation>
|
||||
Loading…
Add table
Add a link
Reference in a new issue