Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use view.getPaddingStart() directly #45150

Closed
wants to merge 2 commits into from
Closed

Commits on Jun 25, 2024

  1. use view.LAYOUT_DIRECTION_RTL directly

    Differential Revision: D58953460
    Peng Jiang authored and facebook-github-bot committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    8d9e336 View commit details
    Browse the repository at this point in the history
  2. use view.getPaddingStart() directly (facebook#45150)

    Summary:
    Pull Request resolved: facebook#45150
    
    As the androidx.core 1.13.1 change, ViewCompact.getPaddingStart and getPaddingEnd are deprecated.
    
    based on the suggestion from https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#getPaddingStart(android.view.View), use: view.getPaddingStart and view.getPaddingEnd directly.
     {F1717102270}
    
    Changelog: [Internal] - Migrating deprecated APIs with AndroidX.Core 1.13.1
    
    Reviewed By: alanleedev
    
    Differential Revision: D58955567
    Peng Jiang authored and facebook-github-bot committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    98f7c70 View commit details
    Browse the repository at this point in the history