You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tylertreat edited this page Dec 31, 2012
·
6 revisions
InfinitumActivity is an extension of Android's Activity which takes care of framework initialization, provides support for resource injection and event binding, and exposes an InfinitumContext.
When building an Activity that relies on Infinitum, it's typically good practice to extend InfinitumActivity rather than manually configuring the framework through the ContextFactory. InfinitumActivity also allows you to perform bean autowiring within the Activity as well as injecting layouts, views, and resources. Lastly, it allows you to bind event listeners to views so that you don't have to implement anonymous inner classes in your code.