Section
Defines the organizational sections for grouping DevView modules.
Sections provide a way to categorize and group related modules in the DevView home screen. Modules within the same section are visually grouped together, making it easier for developers to find and access related functionality.
Section Organization
SETTINGS: Configuration and app information modules
FEATURES: Feature flag and development tools
NETWORK: Network monitoring, logging, and mocking tools
LOGGING: Debugging, analytics, and logging tools
CUSTOM: Application-specific custom modules
Usage Example
object MyModule : Module {
override val section: Section = Section.FEATURES
// Other module implementation...
}Default Icons
Each section has a default icon accessible via the icon extension property:
SETTINGS → Settings icon (gear)
FEATURES → DeveloperMode icon
NETWORK → NetworkCheck icon
LOGGING → FormatListNumbered icon (list)
CUSTOM → Extension icon (puzzle piece)
See also
Properties
Extension property providing the default container (background) color for each section.
Extension property providing the default content (foreground) color for each section.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Extension property providing the default icon for each section.