Appearance
Classic Workouts
Classic workouts are rendered through GoFragment.
Capabilities
- Navigate through exercises
- Display exercise details
- Pause and resume flow
- Voice coach guidance support
Create the fragment
kotlin
val goFragment = GoFragment.newInstance(
workoutContent, // GraphQL payload
workoutConfig, // JSON configuration
jwtToken // JWT token
)Host activity integration
- Add
goFragmentto your activity layout or container. - Manage lifecycles in your host activity as usual.
- Configure texts/behavior through JSON keys before fragment creation.
