acefalobi / android-stepper

A library for creating a wizard-like step-through user interface that uses navigation components and menus for displaying steps with advanced customization.
Apache License 2.0
325 stars 38 forks source link

Fragments Not Showing #32

Closed chaneylc closed 2 years ago

chaneylc commented 2 years ago

Thanks for starting this cool project, although I'm having trouble getting it to work correctly.

I've created a sample project that follows your guide here: Project Link

For some reason the individual fragment steps don't show, only the stepper view.

image

In the sample project each step has a single text view, that shows one, two and three respectively for each step. As you can see those are not visible.

acefalobi commented 2 years ago

Are you sure this is set up correctly? Particularly the nav graph destinations and menu item IDs

chaneylc commented 2 years ago

Yes I followed your guide completely. Apparently I was inflating the fragment incorrectly, works now.