applibgroup / HarmonyOS-Knowledgebase

This repository contains code samples of HarmonyOS Training
Apache License 2.0
17 stars 6 forks source link

How to use Fraction (alternative to Fragment) in Harmony OS? #49

Closed shekhar-amit closed 3 years ago

shekhar-amit commented 3 years ago

Describe the query

I want to use fragments in my Harmony OS app, and I saw that Fraction is the alternative for it. However, I was unable to find any resource or tutorial as to how to implement it. Can anyone provide an example as to how to use Fraction and FractionAbility to implement Fragments in Harmony OS?

Create the query with harmonyos tag in stackoverflow and share the link here:

**** https://stackoverflow.com/questions/68590417/how-to-use-fraction-alternative-to-fragment-in-harmony-os

Additional information

Developer Platform: Windows DevEco Studio version: 2.1.0.303 SDK API version: 5 SDK version: 2.1.1.21 Device: Not required Device OS version: Not required

kanaksony commented 3 years ago

Answered and accepted on StackOverflow.