Add position via dragging the recyclerview

This commit is contained in:
Douile 2022-08-16 11:46:57 +01:00
parent 1bdb6bf340
commit 01e24ff6a4
No known key found for this signature in database
GPG key ID: DC9D70626CEF33D0
7 changed files with 46 additions and 49 deletions

View file

@ -5,7 +5,7 @@ import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
@Entity(tableName = "quick_chat", indices = [Index(value=["position"], unique=true)])
@Entity(tableName = "quick_chat")
data class QuickChatAction(
@PrimaryKey(autoGenerate = true) val uuid: Long,
@ColumnInfo(name="name") val name: String,