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
archive does not contain 'boot.sig' | |
archive does not contain 'recovery.sig' | |
failed to allocate 1046915228 bytes | |
error: update package missing system.img |
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
using System; | |
using System.Collections.Generic; | |
using MonoTouch.UIKit; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.iOS; | |
using CustomFormsSample.Views; | |
using CustomFormsSample.iOS.Views; |
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
<ContentPage.Resources> | |
<ResourceDictionary> | |
<cv:StringCaseConverter x:Key="scConverter" /> | |
<cv:StringToLengthConverter x:Key="s2lConverter" /> | |
</ResourceDictionary> | |
</ContentPage.Resources> | |
<StackLayout> | |
<Editor x:Name="editor" Text="test" /> | |
<!-- ConverterParameter は "True" で UpperCase、"False" で LowerCase になります。 |
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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// http://hogehoge.tk/personal/ で作成 | |
var address = new List<Address> { | |
new Address { FullAddress = "沖縄県那覇市田原3-16-3" }, | |
new Address { FullAddress = "愛媛県西条市天神2-1" }, | |
... | |
... |
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
Application.Current.Resources = new ResourceDictionary(); | |
var cpStyle = new Style(typeof(ContentPage)) | |
{ | |
Setters = | |
{ | |
new Setter{ Property = ContentPage.BackgroundColorProperty, Value = Color.FromHex("333399") }, | |
} | |
}; | |
Application.Current.Resources.Add(cpStyle); |
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
// ItemsSource に ObservableCollection を使用すると Collection を更新するだけで自動的に ListView の表示も更新してくれます。 | |
// これは ListView の ItemsSource に List<T> を使用した場合の悪例です。 | |
// List を更新しても ListView の表示が更新されないため、手動で ItemsSource と ItemTemplate を再指定する必要があります。 | |
// 標準の TextCell を new DataTemplate(typeof(TextCell)) してしまうと都度 SetBinding もしないといけないので、MyTextCell に SetBinding を内包しました。。 | |
// 正しいやり方を | |
// http://ytabuchi.hatenablog.com/entry/2015/08/12/010522 | |
// に記載しました。 | |
class MainPageCS : ContentPage | |
{ |
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
var listItems = new ObservableCollection<CellItems>(); | |
foreach (var i in Enumerable.Range(0, 10)) | |
{ | |
listItems.Add(new CellItems { StringItem = "StringItem-" + i }); | |
} | |
var list = new ListView | |
{ | |
HasUnevenRows = true, | |
ItemsSource = listItems, |
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
Spinner spinner; | |
EditText tbX; | |
EditText tbY; | |
TextView tvResult; | |
button.Click += (sender, e) => { | |
double xValue; | |
double yValue; | |
double resValue; | |
double number; |
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
using System; | |
using Xamarin.Forms; | |
namespace Forms1 | |
{ | |
public class App : Application | |
{ | |
public App () | |
{ |
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
using DeviceMotion.Plugin; | |
using DeviceMotion.Plugin.Abstractions; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Reflection.Emit; | |
using System.Text; | |
using Xamarin.Forms; |
OlderNewer