android / android/tv-samples

How can you add a GuidedStepSupportFragment on a VerticalGridSupportFragment

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.3k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

I am using this line in a VerticalGridSupportFragment (or a BrowseSupportFragment)

`GuidedStepSupportFragment.add(childFragmentManager, ProductQuantityGuideFragment())
`
where ProductQuantityGuideFragment is a GuidedStepSupportFragment

but it looks for a framelayout with the id "content" in the parent fragment.
Can you make a custom layout for VerticalGridSupportFragment (or a BrowseSupportFragment) ? (and add a "content" framelayout there)

Contributor guide

Open the contributing guide

Research direction

Start at GuidedStepSupportFragment.add(childFragmentManager, ProductQuantityGuideFragment()) and trace how it locates the parent content view when used from VerticalGridSupportFragment or BrowseSupportFragment. Review the fragment layouts and determine whether a custom layout can provide the required content frame; done means the guided step can be added without the missing-id failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.