@Nullable
    @SuppressWarnings("unchecked")
    public static <T extends Fragment> T findById(FragmentManager fm, @IdRes int id) {
        return (T) fm.findFragmentById(id);
    }
@Nullable
    @SuppressWarnings("unchecked")
    public static <T extends Fragment> T findById(FragmentManager fm, @IdRes int id) {
        return (T) fm.findFragmentById(id);
    }
@ Nullable @ SuppressWarnings ( "unchecked" ) public static < T extends Fragment > T findById ( FragmentManager fm , @ IdRes int id ) { return ( T ) fm . findFragmentById ( id ) ; }
Get the Fragment with the ID.

@return null if the Fragment isn't found
@since 4.0.0
Get the Fragment with the ID .