interface with generic types code example
Example: i need a generic class which extends User class which implement an interface
public class SomeClass<T extends Fragment & SomeInterface>
public class SomeClass<T extends Fragment & SomeInterface>