Jetpack room framework usage and source code analysis

1, Introduction 1. What is Room The room framework is one of many component libraries of Android Jetpack. The emergence of Jetpack unifies the Android development ecology, various tripartite libraries are gradually replaced by official components, and room gradually replaces competitive products as the most mainstream database ORM framewo ...

Posted on Thu, 25 Nov 2021 22:10:17 -0500 by tazdevil

Detailed explanation | building a responsive UI for foldable devices

Optimize your application for foldable devices and large screen devices The screen size of Android devices changes with each passing day. With the increasing popularity of tablet and foldable devices, it is particularly important to understand the window size and status of your application when developing a responsive user interface. Je ...

Posted on Thu, 25 Nov 2021 19:48:09 -0500 by yuan

Jetpack: Room super detailed use pit guide!

1, Introduction ORM(Object Relational Mapping) relational mapping library provides a layer of encapsulation on Sqlite to optimize the convenience of database operation. The architecture diagram of Room is as follows: Entity: an entity corresponds to a table in the database. Entity class is the mapping of Sqlite table structure to Java ...

Posted on Sat, 20 Nov 2021 07:10:04 -0500 by neo0506

What if there are too few JetPack Compose theme colors?

Author: Petterp introduction The official version of JetPack Compose has been released for several months. During this period, in addition to business-related requirements, I also started the landing experiment of Compose in the actual project, because once I want to access the current project, the problems encountered are actually far grea ...

Posted on Sun, 07 Nov 2021 15:37:52 -0500 by VinnyWolf