-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
983dedf
commit 4be6ee1
Showing
30 changed files
with
10,562 additions
and
10,350 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
XamarinForms.Reactive.FSharp.Android/MapSearchBarRenderer.cs
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,30 @@ | ||
using System; | ||
using Android.Views; | ||
|
||
using Xamarin.Forms.Platform.Android; | ||
using XamarinForms.Reactive.FSharp; | ||
using Xamarin.Forms; | ||
|
||
using AndroidContext = Android.Content.Context; | ||
|
||
[assembly: ExportRenderer(typeof(MapSearchBar), typeof(XamarinForms.Reactive.FSharp.Android.MapSearchBarRenderer))] | ||
namespace XamarinForms.Reactive.FSharp.Android | ||
{ | ||
public class MapSearchBarRenderer : SearchBarRenderer | ||
{ | ||
protected override void OnElementChanged(ElementChangedEventArgs<SearchBar> e) | ||
{ | ||
var inflatorService = (LayoutInflater)Context.GetSystemService(AndroidContext.LayoutInflaterService); | ||
try | ||
{ | ||
var containerView = inflatorService.Inflate(Resource.Layout.Places, null, false); | ||
} | ||
catch (Exception exception) | ||
{ | ||
Console.WriteLine(exception); | ||
throw; | ||
} | ||
base.OnElementChanged(e); | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
XamarinForms.Reactive.FSharp.Android/Properties/AssemblyInfo.cs
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,30 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
using Android.App; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("XamarinForms.Reactive.FSharp.Android")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("XamarinForms.Reactive.FSharp.Android")] | ||
[assembly: AssemblyCopyright("Copyright © 2017")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: ComVisible(false)] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
22 changes: 0 additions & 22 deletions
22
XamarinForms.Reactive.FSharp.Android/Properties/AssemblyInfo.fs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.