5.6.1. package Statement and import Statements

Figure 5.25 shows the QuizFragment package statement and import statements. Lines 5–33 import the various Java and Android classes and interfaces that the app uses. We’ve highlighted the new import statements, and we discuss the corresponding classes and interfaces in Section 5.3 and as they’re encountered in Sections 5.6.2––5.6.10.

Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.