Class IntentContext

  • All Implemented Interfaces:
    Context

    public class IntentContext
    extends Object
    implements Context
    Wraps an Intent to be suitable to be a Context-Element. This class takes a parent so we don't loose information by overwriting.
    Since:
    2013-10-14
    • Field Detail

      • INTENT_KEY

        public static final ContextKey INTENT_KEY
        Key into the Context that represents the Intent.
    • Constructor Detail

      • IntentContext

        public IntentContext​(Intent intent)
      • IntentContext

        public IntentContext​(Context parent,
                             Intent intent)