Skip to content

Commit

Permalink
[Identity][Compose] Reimplement DocSelectFragment with Compose (#5577)
Browse files Browse the repository at this point in the history
* [Identity][Compose] Reimplement DocSelectFragment with Compose

* lint and dump

* fix tests

* Update identity/src/main/java/com/stripe/android/identity/ui/DocSelectionScreen.kt

Co-authored-by: Till Hellmund <[email protected]>

* resolve comments

* lint and dump

Co-authored-by: Till Hellmund <[email protected]>
  • Loading branch information
ccen-stripe and tillh-stripe authored Sep 20, 2022
1 parent 21bc349 commit 420a500
Show file tree
Hide file tree
Showing 11 changed files with 398 additions and 642 deletions.
48 changes: 0 additions & 48 deletions identity/api/identity.api
Original file line number Diff line number Diff line change
Expand Up @@ -169,54 +169,6 @@ public final class com/stripe/android/identity/databinding/ConfirmationFragmentB
public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lcom/stripe/android/identity/databinding/ConfirmationFragmentBinding;
}

public final class com/stripe/android/identity/databinding/ConsentFragmentBinding : androidx/viewbinding/ViewBinding {
public final field agree Lcom/stripe/android/identity/ui/LoadingButton;
public final field body Landroid/widget/TextView;
public final field buttons Landroid/widget/LinearLayout;
public final field decline Lcom/stripe/android/identity/ui/LoadingButton;
public final field divider Landroid/view/View;
public final field loadings Landroid/widget/LinearLayout;
public final field merchantLogo Landroid/widget/ImageView;
public final field plus Landroid/widget/ImageView;
public final field privacyPolicy Landroid/widget/TextView;
public final field progressCircular Lcom/google/android/material/progressindicator/CircularProgressIndicator;
public final field stripeLogo Landroid/widget/ImageView;
public final field texts Landroid/widget/ScrollView;
public final field timeEstimate Landroid/widget/TextView;
public final field titleIcons Landroid/widget/LinearLayout;
public final field titleText Landroid/widget/TextView;
public static fun bind (Landroid/view/View;)Lcom/stripe/android/identity/databinding/ConsentFragmentBinding;
public synthetic fun getRoot ()Landroid/view/View;
public fun getRoot ()Landroid/widget/LinearLayout;
public static fun inflate (Landroid/view/LayoutInflater;)Lcom/stripe/android/identity/databinding/ConsentFragmentBinding;
public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lcom/stripe/android/identity/databinding/ConsentFragmentBinding;
}

public final class com/stripe/android/identity/databinding/DocSelectionFragmentBinding : androidx/viewbinding/ViewBinding {
public final field dl Lcom/google/android/material/button/MaterialButton;
public final field dlContainer Landroid/widget/RelativeLayout;
public final field dlIndicator Lcom/google/android/material/progressindicator/CircularProgressIndicator;
public final field dlSeparator Landroid/view/View;
public final field id Lcom/google/android/material/button/MaterialButton;
public final field idContainer Landroid/widget/RelativeLayout;
public final field idIndicator Lcom/google/android/material/progressindicator/CircularProgressIndicator;
public final field idSeparator Landroid/view/View;
public final field multiSelectionContent Landroid/widget/LinearLayout;
public final field passport Lcom/google/android/material/button/MaterialButton;
public final field passportContainer Landroid/widget/RelativeLayout;
public final field passportIndicator Lcom/google/android/material/progressindicator/CircularProgressIndicator;
public final field passportSeparator Landroid/view/View;
public final field singleSelectionBody Landroid/widget/TextView;
public final field singleSelectionContent Landroid/widget/LinearLayout;
public final field singleSelectionContinue Lcom/stripe/android/identity/ui/LoadingButton;
public final field title Landroid/widget/TextView;
public static fun bind (Landroid/view/View;)Lcom/stripe/android/identity/databinding/DocSelectionFragmentBinding;
public synthetic fun getRoot ()Landroid/view/View;
public fun getRoot ()Landroid/widget/LinearLayout;
public static fun inflate (Landroid/view/LayoutInflater;)Lcom/stripe/android/identity/databinding/DocSelectionFragmentBinding;
public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lcom/stripe/android/identity/databinding/DocSelectionFragmentBinding;
}

public final class com/stripe/android/identity/databinding/DriverLicenseUploadFragmentBinding : androidx/viewbinding/ViewBinding {
public static fun bind (Landroid/view/View;)Lcom/stripe/android/identity/databinding/DriverLicenseUploadFragmentBinding;
public synthetic fun getRoot ()Landroid/view/View;
Expand Down
2 changes: 2 additions & 0 deletions identity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ android {
maxHeapSize = "1024m"
}
}
// Make sure animations are off when we run espresso tests
animationsDisabled = true
}

lintOptions {
Expand Down
148 changes: 0 additions & 148 deletions identity/res/layout/consent_fragment.xml

This file was deleted.

168 changes: 0 additions & 168 deletions identity/res/layout/doc_selection_fragment.xml

This file was deleted.

Loading

0 comments on commit 420a500

Please sign in to comment.