All slide content and descriptions are owned by their creators.
All slide content and descriptions are owned by their creators.
だいたいOrmaでAcitiveAndroid (AA) を置き換える準備が整ったので、手順を書いておきます。 Table of Contents Table of Contents Step 1 - インストール Step 2 - スキーマ定義 Step 3 - 初期化 Step 4 - CRUD操作 その他注意点 Step 1 - インストール build.gradleのdependenciesを書き換えます。最新版はOrmaの公式サイトで確認してください。 - compile 'com.michaelpardo:activeandroid:+' + apt 'com.github.gfx.android.orma:orma-processor:2.+' + compile 'com.github.gfx.android.orma:orma:2.+' Step 2 - スキーマ定義 以
2015年の11月から開発を続けているAndroid用O/R Mapper Ormaですが、このほどv1.0.0をリリースしたので入門記事を書きました*1。 UPDATE: この記事の対象はv4.1.0です。最新版はリポジトリでご確認ください。 関連エントリ: ActiveAndroidからOrmaに移行するための4つのステップ - Islands in the byte stream Table of Contents Table of Contents Ormaとは何か 1. SchemaDiffMigrationによる自動マイグレーション 2. 補完に優しく型安全なインターフェイス 導入 モデルクラスの定義 @PrimaryKey のオプション @Column のオプション データベースハンドル OrmaDatabase CRUD操作 1. Inserter, Selector, U
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く