compat/src/main/java/androidx/core/view/MarginLayoutParamsCompat.java
public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp,
            int layoutDirection) {
        if (SDK_INT >= 17) {
            lp.resolveLayoutDirection(layoutDirection);
        }
    }
/**
     * This will be called by {@link android.view.View#requestLayout()}. Left and Right margins
     * may be overridden depending on layout direction.
     */
This will be called by  android.view.View#requestLayout(). Left and Right margins
may be overridden depending on layout direction.
This will be called by android . view . View#requestLayout () . Left and Right margins may be overridden depending on layout direction .
public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp,
            int layoutDirection) {
        if (SDK_INT >= 17) {
            lp.resolveLayoutDirection(layoutDirection);
        }
    }
public static void resolveLayoutDirection ( ViewGroup . MarginLayoutParams lp , int layoutDirection ) { if ( SDK_INT >= 17 ) { lp . resolveLayoutDirection ( layoutDirection ) ; } }
This will be called by {@link android.view.View#requestLayout()}.
This will be called by { @link android . view . View#requestLayout () } .