How to import Room Persistence Library to an Android project

后端 未结 13 1227
执笔经年
执笔经年 2021-02-05 00:01

I recently saw the new feature announced on Google I/O Room Persistence Library to work with Sqlite databases on Android. I have been looking to the official documentation and I

13条回答
  •  心在旅途
    2021-02-05 00:31

    Current (2018 02 14) versions are

    compile 'android.arch.persistence.room:rxjava2:1.1.0-alpha1'
    compile 'android.arch.persistence.room:runtime:1.1.0-alpha1'
    annotationProcessor 'android.arch.persistence.room:compiler:1.1.0-alpha1'
    
    compile 'android.arch.lifecycle:extensions:1.1.0'
    annotationProcessor 'android.arch.lifecycle:compiler:1.1.0'
    

提交回复
热议问题