From fbfe68786ed72f44d7ed184c66a25cb4da3c05d5 Mon Sep 17 00:00:00 2001 From: leca Date: Tue, 8 Oct 2024 18:32:25 +0300 Subject: [PATCH] the most stupid problem --- .../barcodescannerforemployees/fragments/StorageFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/foxarmy/barcodescannerforemployees/fragments/StorageFragment.kt b/app/src/main/java/org/foxarmy/barcodescannerforemployees/fragments/StorageFragment.kt index 1ce474e..124691f 100644 --- a/app/src/main/java/org/foxarmy/barcodescannerforemployees/fragments/StorageFragment.kt +++ b/app/src/main/java/org/foxarmy/barcodescannerforemployees/fragments/StorageFragment.kt @@ -56,7 +56,8 @@ class StorageFragment : Fragment() { val projection = arrayOf(BaseColumns._ID, ProductContract.ProductEntry.PRODUCT_NAME, ProductContract.ProductEntry.PRODUCT_NET_WEIGHT, - ProductContract.ProductEntry.IMAGE_FILENAME + ProductContract.ProductEntry.IMAGE_FILENAME, + ProductContract.ProductEntry.CATEGORY ) val cursor = db.query(ProductContract.ProductEntry.TABLE_NAME, projection, null, null, null, null, null)