Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ライブラリを作った話

 ライブラリを作った話

テックランチ

Takumi KASHIMA

January 14, 2016
Tweet

More Decks by Takumi KASHIMA

Other Decks in Technology

Transcript

  1. var list = array("catfish", "water") List<String> list = new ArrayList<>();

    list.add("catfish"); list.add("water"); ,PUMJO +BWB ,PUMJO͸؆ܿʹॻ͚ͯ࠷ߴ
  2. ϥϜμࣜ view.setOnClickListener { v -> Log.d(TAG, "onClick") } view.setOnClickListener(View.OnClickListener() {

    @Override public void onClick(View v) { Log.d(TAG, "onClick"); } }); ,PUMJO +BWB
  3. OVMM҆શ String text = null; int length = 0; if

    (text != null) { length = text.length(); } ,PUMJO +BWB val text : String? = null val length = text?.length() ?: 0 OVMMҎ߱ͷϝιου͸ݺ͹Εͳ͍