Skip to content

Commit

Permalink
Ver.0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kamu authored and kamu committed Mar 20, 2018
1 parent 9bcd713 commit 5807df3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 27 deletions.
4 changes: 2 additions & 2 deletions SettingsView.Droid/Cells/TextPickerCellRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
namespace AiForms.Renderers.Droid
{
/// <summary>
/// Number picker cell renderer.
/// Text picker cell renderer.
/// </summary>
[Android.Runtime.Preserve(AllMembers = true)]
public class TextPickerCellRenderer : CellBaseRenderer<TextPickerCellView> { }

/// <summary>
/// Number picker cell view.
/// Text picker cell view.
/// </summary>
[Android.Runtime.Preserve(AllMembers = true)]
public class TextPickerCellView : LabelCellView, IPickerCell
Expand Down
4 changes: 2 additions & 2 deletions SettingsView.iOS/Cells/TextPickerCellRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
namespace AiForms.Renderers.iOS
{
/// <summary>
/// Number picker cell renderer.
/// Text picker cell renderer.
/// </summary>
public class TextPickerCellRenderer : CellBaseRenderer<TextPickerCellView> { }

/// <summary>
/// Number picker cell view.
/// Text picker cell view.
/// </summary>
public class TextPickerCellView : LabelCellView, IPickerCell
{
Expand Down
5 changes: 2 additions & 3 deletions SettingsView.iOS/Cells/TextPickerSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ public override void Selected(UIPickerView picker, nint row, nint component)
}

/// <summary>
/// Sets the numbers.
/// Sets the items.
/// </summary>
/// <param name="min">Minimum.</param>
/// <param name="max">Max.</param>
/// <param name="items">Items.</param>
public void SetItems(IList items)
{
Items = items;
Expand Down
20 changes: 0 additions & 20 deletions SettingsView/Cells/TextPickerCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ namespace AiForms.Renderers
/// </summary>
public class TextPickerCell:LabelCell
{
//public IList<string> Items { get; set; } = new List<string>();

/// <summary>
/// The items property.
/// </summary>
Expand Down Expand Up @@ -140,23 +138,5 @@ public ICommand SelectedCommand {
}

private new string ValueText { get; set; }

////DisplayMember getter
//internal Func<object, object> DisplayValue {
// get {
// return (obj) => obj;
// }
//}

//internal Func<object, object> SubDisplayValue {
// get {
// return (obj) => null;
// }
//}

//internal void InvokeCommand()
//{
// SelectedCommand?.Execute(SelectedItem);
//}
}
}

0 comments on commit 5807df3

Please sign in to comment.