java interface generic type extends 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>