You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Java with spice! Xtend is a flexible and expressive dialect of Java, which compiles into readable Java 8 compatible source code. You can use any existing Java library seamlessly. The compiled output is readable and pretty-printed, and tends to run as fast as the equivalent handwritten Java code. Get productive and write beautiful code with powerful macros, lambdas, operator overloading and many mo
ほとんどのAndroidアプリで書くことになる非同期処理。 非同期処理を順番に実行したい場合や並列に実行させたい事も当然あるわけだけど、これが普通に書くと結構読みにくい。 Androidアプリを作ってる人は同じような悩みを持ってるだろうと色々探してたらいい感じのやつ見つけた。 jdeferred 【GitHub】 似たようなやつだとこういうのもあるみたいだけど個人的にはjdeferredが好き android-promise【GitHub】 こういう感じだといいなーって思ってた要素 非同期処理をブロック化してコード上に書きたい 例) 非同期処理→3つの非同期を待ち合わせ→2つの非同期処理を待ち合わせ→非同期処理 こんな複雑な非同期処理しないと思うけど、こういう単位で書けるようにしたい 一つ目の非同期が終わった後にその結果を使って二つ目の非同期を実行する処理を簡潔に書ける 複数の非同期処理を
Introduction Retrofit turns your HTTP API into a Java interface. public interface GitHubService { @GET("users/{user}/repos") Call<List<Repo>> listRepos(@Path("user") String user); } The Retrofit class generates an implementation of the GitHubService interface. Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://api.github.com/") .build(); GitHubService service = retrofit.create(GitHubServ
Android Annotations is a powerful library for developing Android apps, which provides a number of annotations that can simplify and streamline the development process. AndroidAnnotations is an Open Source framework that speeds up Android development. It takes care of the plumbing, and lets you concentrate on what’s really important. By simplifying your code, it facilitates its maintenance. With An
Dagger is a fully static, compile-time dependency injection framework for Java, Kotlin, and Android. It is an adaptation of an earlier version created by Square and now maintained by Google. The latest Dagger release is: Dagger 2.50 Dagger aims to address many of the development and performance issues that have plagued reflection-based solutions. More details can be found in this talk (slides) by
これは Scala Advent Calendar 2015 - Adventar の18日目の記事です。 Scalaでは特に何もしなくてもJava製のライブラリをそのまま利用することができます。 ただ、そのまま使うよりもScalaでラップしたライブラリを作ることで使いやすさが向上することが多いです。 自分もそのためにライブラリをいくつか開発しています。 kxbmap/configs · GitHub Typesafe configのラッパー kxbmap/jooqs · GitHub jOOQのラッパー 未リリース この記事では、JavaライブラリをScalaでラップする時に使えるテクニックを見ていきたいと思います。 ラップする方法 最初に、ひとくちにラップするといってもやり方としては複数あると思います。 違う型として定義する まず、ラップしたい型を内部に持ってメソッド呼び出しを委譲する
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く