What are the major advantages of using fragments for UI implementation?
Answer
One major benefit, however, for using Fragments is that
they are supported by the View layout system
– so you can easily add them to Android xml (if you use it for your layouts). Custom views are much more work than just using fragments in place of your activities.
Answer
One major benefit, however, for using Fragments is that
they are supported by the View layout system
– so you can easily add them to Android xml (if you use it for your layouts). Custom views are much more work than just using fragments in place of your activities.