generic interface with extends keyword 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>