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) {
37
37
var myButton = FindViewById <MaterialButton >(Resource .Id .myButton );
38
38
39
39
// bind your button to activity lifecycle
40
- this .BindProgressButton (myButton )
40
+ this .BindProgressButton (myButton );
41
41
42
42
// (Optional) Enable fade in/out animations
43
- myButton .AttachTextChangeAnimator ()
43
+ myButton .AttachTextChangeAnimator ();
44
44
45
45
// Show progress with "Loading" text
46
46
myButton .ShowProgress ((progressParams ) => {
@@ -49,7 +49,7 @@ protected override void OnCreate(Bundle savedInstanceState) {
49
49
});
50
50
51
51
// Hide progress and show "Submit" text instead
52
- myButton .HideProgress (Resource .String .submit )
52
+ myButton .HideProgress (Resource .String .submit );
53
53
}
54
54
```
55
55
@@ -73,7 +73,7 @@ button.ShowDrawable(animatedDrawable, (drawableParams) => {
73
73
To avoid memory leaks you always need to bind your button to a LifecycleOwner (usually Activity, or Fragment):
74
74
75
75
``` C#
76
- [ILifecycleOwner ].BindProgressButton (button )
76
+ [ILifecycleOwner ].BindProgressButton (button );
77
77
```
78
78
79
79
### Author
You can’t perform that action at this time.
0 commit comments