Uses the new Platform Specifics feature
protected override void OnCreate(Bundle bundle)
{
ToolbarResource = Resource.Layout.toolbar;
TabLayoutResource = Resource.Layout.tabs;
base.OnCreate(bundle);
Uses the new Platform Specifics feature
protected override void OnCreate(Bundle bundle)
{
ToolbarResource = Resource.Layout.toolbar;
TabLayoutResource = Resource.Layout.tabs;
base.OnCreate(bundle);
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
using Mono.Cecil; | |
using Mono.Cecil.Cil; | |
using Mono.Cecil.Rocks; |
using Reactive.Bindings.Notifiers; | |
using System; | |
using System.Threading.Tasks; | |
using System.Windows.Input; | |
namespace Reactive.Bindings | |
{ | |
public class BusyNotifierCommand : BusyNotifierCommand<object> | |
{ | |
public BusyNotifierCommand(Func<Task> execute) |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine(Gender.Female.ToJapanese()); | |
Console.ReadLine(); | |
} | |
} | |
public enum Gender |
重要な順で
優秀なプログラマーというのは寝ている間に異世界に召喚されて無双するのとはわけが違うんですよ。
自分の例で言うとプログラミングを始めた中学生の時から優秀なプログラマだったかって、そんなわけない。みんなヘッポコからスタートしているに決まってるわけです。以来二十余年、地道に生き恥を晒し続けてきた結果として、現在いちおう業界の末席を汚すところまで来ている。このプロセスから目を背けるべきではないです。優秀なプログラマーに生まれる人間なんかいない。優秀なプログラマーに「育つ」んだし、それには時間が必要。今日から無双したいと思うな。
2024-01-20
@voluntas
2024.1
概要
interface HasDisposables { | |
fun Disposable.autoDispose() | |
fun dispose() | |
companion object { | |
operator fun invoke(): HasDisposables = object : HasDisposables { | |
private val disposables = CompositeDisposable() |
<div id=root /> | |
<script type=module> | |
import React from 'https://dev.jspm.io/react@16' | |
import ReactDOM from 'https://dev.jspm.io/react-dom@16' | |
ReactDOM.render( | |
React.createElement('h1', null, 'hello'), | |
document.querySelector('#root') | |
) | |
</script> |
package io.github.yaraki.dependencyinjection | |
import android.arch.lifecycle.LiveData | |
import android.os.Handler | |
import android.os.Looper | |
import android.os.SystemClock | |
import android.text.format.DateFormat | |
import java.util.* | |
class ClockLiveData : LiveData<CharSequence>() { |
朝バタバタしてクリアじゃなかった... ちょっと間違ってましたこういうことです:
Taskを使うかValueTaskを使うかによる差については、本来はすべてをTaskを返す非同期APIとして定義したいが、ほとんどの場合同期的に完了してしまう(つまり一瞬で操作が完了する、待機する可能性が0ではないが殆ど待機しないというような)処理を、いつもTaskで管理するのはコストが高いので、代わりにValueTaskを使って初めから完了しているものはコストをほとんど0とするようにするという話です。