Google is committed to advancing racial equity for Black communities. See how.

module library



An Intent is a fundamental building block of module development. Modules will either be started with an intent or will receive an intent after they have been launched. It is up to the module author to decide how to respond to the intents that they receive. ...


The Module class provides a mechanism for module authors to interact with the underlying framework. The main responsibilities of the Module class are to implement the intent handler interface and the lifecycle interface.


A concrete implementation of the ViewProvider class. This class is intended to be used to create a module that explicitly does not provide a view. This is typically only the case in tests. ...


TODO( remove.

Exceptions / Errors


An Exception indicating that the Module is in an invalid state. This exception should only be thrown when the module is in a state which is cannot recover from and will need to crash.