Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
setHeadlineListener uses Generics to trigger target type inference
public class HeadLineFragment extends Fragment {
public <T> void setHeadlineListener(HeadlineListener<T> listener) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment