Searched refs:callbackInterface (Results 1 – 2 of 2) sorted by relevance
42 public static <T> T getParent(@NonNull Fragment fragment, @NonNull Class<T> callbackInterface) { in getParent() argument43 if (callbackInterface.isInstance(parentForTesting)) { in getParent()50 if (callbackInterface.isInstance(parentFragment)) { in getParent()54 } else if (callbackInterface.isInstance(fragment.getActivity())) { in getParent()60 T parent = ((FragmentUtilListener) fragment.getActivity()).getImpl(callbackInterface); in getParent()65 return ((FragmentUtilListener) peer).getImpl(callbackInterface); in getParent()78 @NonNull android.app.Fragment fragment, @NonNull Class<T> callbackInterface) { in getParent() argument79 if (callbackInterface.isInstance(parentForTesting)) { in getParent()86 if (callbackInterface.isInstance(parentFragment)) { in getParent()90 } else if (callbackInterface.isInstance(fragment.getActivity())) { in getParent()[all …]
670 public <T> T getImpl(Class<T> callbackInterface) { in getImpl() argument671 if (callbackInterface.isInstance(onContactSelectedListener)) { in getImpl()673 } else if (callbackInterface.isInstance(onDialpadQueryChangedListener)) { in getImpl()675 } else if (callbackInterface.isInstance(dialpadListener)) { in getImpl()677 } else if (callbackInterface.isInstance(dialpadFragmentHostInterface)) { in getImpl()679 } else if (callbackInterface.isInstance(searchFragmentListener)) { in getImpl()681 } else if (callbackInterface.isInstance(callLogAdapterOnActionModeStateChangedListener)) { in getImpl()683 } else if (callbackInterface.isInstance(callLogHostInterface)) { in getImpl()685 } else if (callbackInterface.isInstance(callLogFragmentListener)) { in getImpl()687 } else if (callbackInterface.isInstance(onListFragmentScrolledListener)) { in getImpl()[all …]