AniTrend Issue Guidelines
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
You may find an answer in already closed issues:
https://github.com/AniTrend/anitrend-v2/issues?q=is%3Aissue+is%3Aclosed
Feature Information
Automatically open feature-medialist-editor when a user uses the shortcut item to increment thier progress, allowing the user to update other fields, ideally we might want to make this optional so as not to force everyone to go through this.
We'll add more details later, once we understand the requirement fully
Solution Information
TBA
|
fun View.openMediaListSheetFor( |
|
entity: Media, |
|
settings: IUserSettings |
|
): Boolean { |
|
runIfActivityContext { |
|
runIfAuthenticated(settings) { |
|
val fragmentItem = FragmentItem( |
|
fragment = MediaListEditorRouter.forSheet(), |
|
parameter = MediaListEditorRouter.Param( |
|
mediaId = entity.id, |
|
mediaType = entity.category.type, |
|
scoreFormat = settings.scoreFormat.value |
|
).asBundle() |
|
) |
|
val dialog = fragmentItem.fragmentByTagOrNew(this) |
|
dialog.show(fragmentManager(), fragmentItem.tag()) |
|
} |
|
} |
|
return true |
|
} |
Additional Context
TBA
AniTrend Issue Guidelines
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
You may find an answer in already closed issues:
https://github.com/AniTrend/anitrend-v2/issues?q=is%3Aissue+is%3Aclosed
Feature Information
Automatically open
feature-medialist-editorwhen a user uses the shortcut item to increment thier progress, allowing the user to update other fields, ideally we might want to make this optional so as not to force everyone to go through this.Solution Information
TBA
anitrend-v2/common-media-ui/src/main/kotlin/co/anitrend/common/media/ui/controller/extensions/RouterExtensions.kt
Lines 44 to 63 in 53a3aab
Additional Context
TBA