Class ContextLinking


  • public class ContextLinking
    extends Object
    Utility methods to allow Context and View linking between contexts.

    By using this module users can configure a context to be able to inject other contexts or views by their provider id.

    • Constructor Detail

      • ContextLinking

        public ContextLinking()
    • Method Detail

      • linkView

        public static com.google.inject.Module linkView​(String id,
                                                        com.google.common.base.Supplier<View> view)
      • linkContext

        public static com.google.inject.Module linkContext​(String id,
                                                           com.google.common.base.Supplier<Context> context)
      • linkView

        public static com.google.inject.Module linkView​(View view)
      • linkContext

        public static com.google.inject.Module linkContext​(Context context)