Skip to content

This is a english-persian dictionary that use MVVM design pattern and room library for sqlite data base .

Notifications You must be signed in to change notification settings

Muhammad-Javad/MVVM-persian-Dictionary

Repository files navigation

MVVM-persian-Dictionary

This is a english-persian dictionary that use MVVM design pattern and room library for sqlite data base .

Room

As i mentioned earlier i use Room library for interact with my prepopulate database.
Room support prepopulate database in version 2.2.0

    Room.databaseBuilder(application, WordDB::class.java, "w_database")
                    .createFromAsset("database/word_db")
                    .build()

Screenshot

img_1 img_2 img_3

Resources

ViewBinding

pre-populate database