I'm reading an ebook and am getting confused whether to use the article an or the.
The below lines are shown in my ebook:
While fragments enable you to compartmentalize your UI into various configurable parts, the real power of fragments is realized when you add them dynamically to activities during runtime. In the previous section, you saw how you can add fragments to an activity by modifying the XML file during design time. In reality, it is much more useful if you create fragments and add them to activities during runtime.This enables you to create a customizable user interface for your application.
For example: if the application is running on a smartphone, you might fill an activity with a single fragment; if the application is running on a tablet, you might then fill the activity with two or more fragments, as the tablet has much more screen real estate compared to a smartphone.
I need to know which one is appropriate, either an or the. Can anybody explain this to me?