Interface FragmentContextInterface


public interface FragmentContextInterface
Fragment context interface: separates implementation from definition. Allows unit testing by mocking or reimplementing services with test-time versions. The name is awkward, chosen to avoid renaming the implementation class which is used in many places in legacy code. New code should use this interface, and the names should eventually be swapped with FragmentContext becoming FragmentContextImpl and this interface becoming FragmentContext.