- はじめに
- この本を読む理由
- この本で扱わないこと
- なぜinternalについて書くのか
- ソースコードを身近に
- コードスニペットと例
- 1. Composable functions
- Composable functionsの意味
- Composable functionsの特性
- Calling context
- Idempotent
- Free of uncontrolled side effects
- Restartable
- Fast execution
- Positional memoization
- suspend functionsとの類似点
- Composable functionsの色
- Composable function types
- 2. Composeコンパイラ
- Kotlinコンパイラプラグイン
- Composeアノテーション
- コンパイラ拡張の登録
- Kotlinコンパイラバージョン
- 静的解析
- 静的チェッカー
- コールチェック
- 型チェック
- 宣言チェック
- 診断抑制
- ランタイムバージョンチェック
- コンパイラIR
- 低減
- クラスの安定性推論
- ライブリティライトフラグ
- Composeラムダメモ化
- Composer注入
- 比較伝播
- デフォルトパラメータ
- 制御フローグループ生成
- klibとデコイ生成
- 3. The Compose runtime
- スロットテーブルと変更リスト
- スロットテーブルの詳細
- 変更リスト
- Composer
- Composerへの入力
- 変更のモデル化
- 書き込みタイミングの最適化
- グループの書き込みと読み取り
- 値の記憶
- 再コンポーズスコープ
- Composer内のSideEffect
- CompositionLocalの保存
- ソース情報の保存
- CompositionContextによるCompositionのリンク
- 現在のStateスナップショットへのアクセス
- ノードのナビゲーション
- リーダーとライターの同期維持
- 変更の適用
- ノードツリー構築時のパフォーマンス
- 変更の適用方法
- ノードのアタッチと描画
- Composition
- Compositionの作成
- 初期Compositionプロセス
- 初期Composition後の変更適用
- Compositionに関する追加情報
- The Recomposer
- Spawning the Recomposer
- Recomposition process
- Concurrent recomposition
- Recomposer states
- 4. Compose UI
- ComposeランタイムとのUIの統合
- スケジュールされた変更をツリーへの実際の変更にマッピングする
- Compose UIの観点からのComposition
- Compose UIの観点からのサブコンポジション
- UIでの変更の反映
- 異なるタイプのApplier
- 新しいLayoutNodeの具現化
- 円を閉じる
- ノードを削除する変更の具現化
- ノードを移動する変更の具現化
- すべてのノードをクリアする変更の具現化
- Compose UIでの測定
- 測定ポリシー
- 内在測定
- レイアウト制約
- LookaheadLayout
- モディファイアチェーンのモデリング
- LayoutNodeへのモディファイアの設定
- LayoutNodeが新しいモディファイアを取り込む方法
- ノードツリーの描画
- Jetpack Composeにおけるセマンティクス
- セマンティック変更の通知
- マージされたセマンティックツリーとマージされていないセマンティックツリー
- 5. ステートスナップショットシステム
- スナップショット状態とは
- 並行性制御システム
- マルチバージョン並行性制御(MCC または MVCC)
- スナップショット
- スナップショットツリー
- スナップショットとスレッド
- 読み取りと書き込みの観察
- 可変スナップショット
- グローバルスナップショットとネストされたスナップショット
- StateObjectsとStateRecords
- 状態の読み取りと書き込み
- 廃止されたレコードの削除または再利用
- 変更の伝播
- 書き込み競合のマージ
- 6. エフェクトとエフェクトハンドラー
- 副作用の紹介
- Composeでの副作用
- 必要なもの
- エフェクトハンドラー
- 非サスペンドエフェクト
- サスペンドエフェクト
- サードパーティライブラリアダプター
- 7. 高度なCompose Runtimeユースケース
- Compose runtimeとCompose UI
- コンポジションの(再)紹介
- ベクターグラフィックスのコンポジション
- ベクター画像ツリーの構築
- ベクターコンポジションのCompose UIへの統合
- ComposeでのDOM管理
- ブラウザでのスタンドアロンコンポジション
- 結論
- はじめに
Jetpack Compose インターナルズ
Jetpack Composeは、Android UIの未来を担う技術で す。その内部動作を理解することで、より効率的なdeveloperになることができます。Android devでなくても、この本は大きな価値があります。本書では、Compose compiler & runtimeの動作原理を詳細に解説し、それらを活用したclient libraryの作成方法まで網羅しています。
The author is letting you choose the price you pay for this book!
Jetpack Composeは、Android UIの未来を担う技術です。その内部動作を理解することで、より効率的なdeveloperになることができます。Android devでなくても、この本は大きな価値があります。本書では、Compose compiler & runtimeの動作原理を詳細に解説し、それらを活用したclient libraryの作成方法まで網羅しています。
About
About the Book
Jetpack Composeは、Android UIの未来を担う技術です。その内部動作を理解することで、より効率的なdeveloperになることができます。Android devでなくても、この本は大きな価値があります。本書では、Compose compiler & runtimeの動作原理を詳細に解説し、それらを活用したclient libraryの作成方法まで網羅しています。
Feedback
Price
Pick Your Price...
Minimum price
$29.99
$49.99
You pay
$49.99Author earns
$39.99Author
About the Author
Contents
Table of Contents
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.