1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-05 12:01:35 +00:00

Convert follower activity to fragment

This commit is contained in:
Ammar Githam 2020-09-05 03:19:06 +09:00
parent c64ae3a101
commit 290ed50287
10 changed files with 460 additions and 400 deletions

View file

@ -57,6 +57,9 @@
<action
android:id="@+id/action_profileFragment_to_savedViewerFragment"
app:destination="@id/savedViewerFragment" />
<action
android:id="@+id/action_profileFragment_to_followViewerFragment"
app:destination="@id/followViewerFragment" />
</fragment>
<fragment
android:id="@+id/savedViewerFragment"
@ -76,4 +79,31 @@
app:argType="awais.instagrabber.models.enums.PostItemType"
app:nullable="false" />
</fragment>
<fragment
android:id="@+id/followViewerFragment"
android:name="awais.instagrabber.activities.FollowViewerFragment"
android:label="Followers"
tools:layout="@layout/fragment_followers_viewer">
<argument
android:name="profileId"
app:argType="string"
app:nullable="false" />
<argument
android:name="isFollowersList"
app:argType="boolean"
app:nullable="false" />
<argument
android:name="username"
app:argType="string"
app:nullable="false" />
<action
android:id="@+id/action_followViewerFragment_to_profileFragment"
app:destination="@id/profileFragment">
<argument
android:name="username"
android:defaultValue=""
app:argType="string"
app:nullable="true" />
</action>
</fragment>
</navigation>