File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ protected override void OnCreate(Bundle savedInstanceState) {
3737 var myButton = FindViewById <MaterialButton >(Resource .Id .myButton );
3838
3939 // bind your button to activity lifecycle
40- this .BindProgressButton (myButton )
40+ this .BindProgressButton (myButton );
4141
4242 // (Optional) Enable fade in/out animations
43- myButton .AttachTextChangeAnimator ()
43+ myButton .AttachTextChangeAnimator ();
4444
4545 // Show progress with "Loading" text
4646 myButton .ShowProgress ((progressParams ) => {
@@ -49,7 +49,7 @@ protected override void OnCreate(Bundle savedInstanceState) {
4949 });
5050
5151 // Hide progress and show "Submit" text instead
52- myButton .HideProgress (Resource .String .submit )
52+ myButton .HideProgress (Resource .String .submit );
5353}
5454```
5555
@@ -73,7 +73,7 @@ button.ShowDrawable(animatedDrawable, (drawableParams) => {
7373To avoid memory leaks you always need to bind your button to a LifecycleOwner (usually Activity, or Fragment):
7474
7575``` C#
76- [ILifecycleOwner ].BindProgressButton (button )
76+ [ILifecycleOwner ].BindProgressButton (button );
7777```
7878
7979### Author
You can’t perform that action at this time.
0 commit comments