Frontend

RoomDB๋ฅผ ์ƒ์„ฑํ•˜์—ฌ ๊ณผ์ œ๋ฅผ ์ง„ํ–‰ํ•˜๋˜ ์ค‘์— Room cannot verify the data integrity ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. attirbute์˜ type์„ ๋ณ€ํ™˜ํ•˜์—ฌ ๋‹ค์‹œ ์‹คํ–‰์‹œ์ผฐ๋Š”๋ฐ, RoomDB์— ์ด๋ฏธ ์ƒ์„ฑ ๋˜์–ด ์žˆ๋Š” attirbute์™€ ์ถฉ๋Œ์ด ๋ฐœ์ƒํ•˜์—ฌ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ ๊ฒƒ์ด๋‹ค. ๋”ฐ๋ผ์„œ ์ƒˆ๋กœ DB๋ฅผ ์ƒ์„ฑํ•˜์—ฌ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜์˜€๋‹ค. RoomDB๋ฅผ ์ดˆ๊ธฐํ™”ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์ฐพ์•„์•ผ ํ•  ๊ฒƒ ๊ฐ™๋‹ค. @Synchronized fun getInstance(context: Context) : AppDatabase ? { if(appDatabase == null){ synchronized(AppDatabase::class.java){ appDatabase = Room.databaseBuilder( context.applicat..
chaerlo127
'Frontend' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก