リア充爆発日記

You don't even know what ria-ju really is.

2013-01-04から1日間の記事一覧

どのContextを使えばいいの?

ここの要約的な話。 http://stackoverflow.com/questions/1026973/android-whats-the-difference-between-the-various-methods-to-get-a-contextActivity内でContextを引数に求められるメソッドを使うとき、以下の3つの選択肢がある。 this(=Activity) getA…