0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

android

Last updated at Posted at 2021-05-11

resources

stringのplaceholder

room

AsyncTask

処理結果などを受け取りたい時はlistenerを実装する必要がある

Thread

  • ThreadからUIの変更はできない
    • Handlerに処理を委譲すれば可能

databinding

  • view内で使用するデータクラスを定義し、それを利用できる
  • xmlに, (使用するデータクラスの指定)の定義必要
  • データの更新を検知させるためにinvalidateAllの呼び出し必要

binding

  • view内で使用しているものにアクセスを簡単にする(findViewByIdの冗長な記述が不要に)
  • build.gradleにて設定必要
  • xmlに(namespaceの指定)を定義必要
  • applyでアクセス処理を一括で記述可能

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?