This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix member compatibility in DrawerLayout, SlidingPaneLayout.
Commit 91f7d82 is great from a usability perspective, as EventArgs subclasses would have usable members, e.g. SlideOffset instead of P0. Unfortunately, this also breaks compatibility. Commit 91f7d82 fixed many of the incompatibilities, but we've found others that need fixing.
- Loading branch information
Showing
4 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
|
||
namespace Android.Support.V4.Widget { | ||
|
||
partial class DrawerLayout { | ||
|
||
partial class DrawerClosedEventArgs { | ||
|
||
public global::Android.Views.View P0 { | ||
get {return DrawerView;} | ||
} | ||
} | ||
|
||
partial class DrawerOpenedEventArgs { | ||
|
||
public global::Android.Views.View P0 { | ||
get {return DrawerView;} | ||
} | ||
} | ||
|
||
partial class DrawerSlideEventArgs { | ||
|
||
public global::Android.Views.View P0 { | ||
get {return DrawerView;} | ||
} | ||
|
||
public float P1 { | ||
get {return slideOffset;} | ||
} | ||
} | ||
|
||
partial class DrawerStateChangedEventArgs { | ||
|
||
public int P0 { | ||
get {return NewState;} | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
|
||
namespace Android.Support.V4.Widget { | ||
|
||
partial class SlidingPaneLayout { | ||
|
||
partial class PanelClosedEventArgs { | ||
|
||
public global::Android.Views.View P0 { | ||
get {return Panel;} | ||
} | ||
} | ||
|
||
partial class PanelOpenedEventArgs { | ||
|
||
public global::Android.Views.View P0 { | ||
get {return Panel;} | ||
} | ||
} | ||
|
||
partial class PanelSlideEventArgs { | ||
|
||
public global::Android.Views.View P0 { | ||
get {return Panel;} | ||
} | ||
|
||
public float P1 { | ||
get {return SlideOffset;} | ||
} | ||
} | ||
} | ||
} |