2019-03-01ãã1ã¶æéã®è¨äºä¸è¦§
TypeScript 㧠ã³ã¼ãã®å¤æ´ãæ¤ç¥ãã¦èªå㧠Compile -> Unit Test ã¾ã§ãå®è¡ãã
TypeScript ãæ¸ãã¦ã¦ Live Unit Testing ã¿ãããªã®ã ãã£ã¦ã¿ããã§ãããã Live Unit Testing ã¨ã¯ãã³ã¼ãã®å¤æ´ãæ¤ç¥ãã¦å³æã« Unit Test ãå®è¡ãããã®ã§ãã ãã¦ããã£ã¦ããã¾ããã ç°å¢æ§ç¯ typescript mocha (- chai) é©å½ã« TypeScript â¦
ããªãã¯èª°ï¼ åºæ¬æ å ± ãã 寿å¸å¤§å¥½ã å°æ¹ã«ããFã©ã³ç§ç«æ å ±ç³»ã«éãï¼åç ãã½ã³ã³å¤§å¥½ã ä¸å¦çã®é ããããã°ã©ãã³ã°ã大好ãã§ãé«æ ¡çã®æã«PHPãWindows Phone åãã¢ããªã®éçºã«ç±ä¸ãC#ã«ãããMicrosoftä¿¡è ã«ã大å¦çã®æã«Xamarinã®ã¤ãã³â¦
ãã£ããæ±äº¬ã«ããã®ã§ãã¨ãããã¨ã§ AAC ã®åå¼·ä¼ã«åå ãã¦ãã¾ããã Google ã§éå¬ããã¦ã¾ããã GDE ãªäººããããããã¦ããæè¡é£æ度ãçµæ§é«ãã ã£ãæ°ããã¾ãã ææ³ ãã¡ããã¡ãåå¼·ã«ãªãã¾ããã AAC ã¯æ®æ®µä½¿ã£ã¦ãã¦ããªã§è²ã ãã¦ããã®â¦
Type Script ããããããªãã®ã§ã¨ãããã解決æ¹æ³ã ãæ¸ãã npm install hoge~ ã¯æ¸ãã§ãåæã 以ä¸ã®ã³ã¼ãã®æã«ãã¡ã£ã¦è¨ãããã import assert from 'power-assert' åãã³ã¼ã import * as assert from 'power-assert'
NodeJS ã® LTS 㯠6,8,10 ããªãªã¼ã¹ããã¦ãã¾ãã nodejs.org Azure Functions ã¯éçºããªã·ã¼ã§LTS ãããµãã¼ããããªãããã§ãã github.com 解決ç NodeJS ã®ãã¼ã¸ã§ã³ãNVM ã¨ãã§åãæ¿ããã°è¯ãããã§ããã
Kotlin-DSL ãæ¸ããã¨ãã¦ãã¦è²ã ã¤ã¾ã¥ããã¨ãããã¾ãããããªæã«åèã«ããã¨è¯ããããªãªãã¸ããªã ãã¬ã¼ã³ãªãã¤ããBuildSrc ãå©ç¨ããããããã¤ã¾ã§ããç¨åº¦æã£ã¦ãã github.com
Live Data ã使ã£ãã³ã¼ãã®ãã¹ããè¨è¿°ããå ´åã«ã¯ã¡ã¤ã³ã¹ã¬ããã§å®è¡ããªããã°ãããªã Live data ãUnit Test ã§ããããããæã«ã¯ã MainThread ã§å®è¡ããªããã°ãããªãã¨ããå¶éãåé¡ã«ãªãã¾ãã å ·ä½çã«ã¯ã LiveData ã® setValue ã¡ã½ãâ¦
ã¿ã¤ãã«ã®éãæè¿ä½ãã¨è©±é¡ãªGMO ãããã§ã¤ã³ã¿ã¼ã³ã·ããããã¦ãã¾ããã æè¡çãªè©±ã¯ã«ãã¼ããªãã¨ãå«ã¾ãã¦ãã¨ã«ãã¼ããªã®ã§åºæ¬çã«ã¯æ¸ãã¾ããã ã©ããªæãï¼ ãã¸ã·ã§ã³ã¯ minne ã® Android ã¢ããªçéçºã§ãã ããããæ¥åã®ã¿ã¹ã¯ãåâ¦
Unit Test ç㧠lambda é¢æ° ã使ç¨ãã¦ããã¨ããã§å¼ã³åºããã°ã¨å¼ã³åºãåæ°ãè¨é²ããããã¨ã¯ãã¾ã«ããããã¨æãã¾ãã ããã§ãè¨é²ã§ãã便å©ã¯ã©ã¹ãæ¸ãã¦ã¿ã¾ããã æ©è½ å¼ã³åºããã°ã®è¨é² åæ°ã®è¨é²ã¨æ¤è¨¼ï¼æå®ãããåæ°å¼ã³åºããã¦ãªãâ¦
å¿ è¦ããã ã£ãããæ¸ãã¦ã¿ããã¨ã©ã¼å¦çã¨ããªãã®ã§å ´æã«å¿ãã¦ä½¿ãã¹ãã fun String.toDate(format: String = "yyyy/MM/dd HH:mm"): Date = SimpleDateFormat(format, Locale.JAPAN).parse(this) ex "2019/1/2 3:4".toDate()
å°å ¥ æ¸è°·ã¨ãå æ¬æ¨ã¨ãã«ããITä¼æ¥ã§åãã¦ã人ãè¯ã使ãè¨èã«ããã£ã¦ãããã¨ãããã®ãããã¾ãã ç§ãTwitterãªã©ã§ããªã§ä½¿ã£ã¦ãã¾ãã ã¨ã¯ããã©ã®é°å²æ°ã§ä½¿ã£ã¦ããã©ã®ãããªæå³ãæã¤æ¥æ¬èªãªã®ãããããããªããã調ã¹ã¦ã¿ã¾ããã 使ç¨â¦
ããããã°ãæ¯åã°ã°ã£ã¦ããªãã¨æã£ã¦æ¸ããã è¦ããã»ã©ã§ã¯ãªãã®ã«ä½¿ããã§ããããã <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="?android:attr/progressBarStyleLarge" /></progressbar>
Chrome Custom Tabs ã«ã¯ Pre Fetch ã¨ããæ©è½ãåå¨ãã¾ãã ããã¯ã Chrome Custom Tabs ã§ã¦ã§ããã¼ã¸ã表示ããåã«äºåã«èªã¿è¾¼ãã§ãããã¨ã§è¡¨ç¤ºé度ã®æé©åãè¡ããæ©è½ã§ãã èªåå®è£ ãããã¨ããã¨å¤§å¤ãªãã®æ©è½ã§ããã Google Chrome ã®æ©â¦
ChromeCustomTabs ã使ãã¨ãã«å¿ è¦ã«ãªãããã±ã¼ã¸åã Androidx ã§ã¯å¤æ´ããã¦ããããè¨äºã«ãã¾ãã å ·ä½çã«ã¯ã以ä¸ã®ããã±ã¼ã¸ã«ãªã£ã¦ããããã§ãã implementation "androidx.browser:browser:1.0.0" 以ä¸ã«ããã±ã¼ã¸ã®è©³ç´°ãæ¸ãã¦ããã¾ããâ¦
ForeGround ã«ä»¥ä¸ã®å±æ§ãé©ç¨ãããã¨ã§ãã¾ãã android:foreground="?android:attr/selectableItemBackground"