From 7ee6296e533c5283f5c47ccfcdda33c3147eefad Mon Sep 17 00:00:00 2001 From: shaulascr Date: Thu, 12 Jun 2025 15:38:30 +0700 Subject: [PATCH] fix store detail & courier cost --- .../product/DetailStoreProductResponse.kt | 16 +++++++------- .../data/repository/OrderRepository.kt | 8 +++---- .../data/repository/ProductRepository.kt | 8 +++---- .../ecommerce_serang/ui/chat/ChatViewModel.kt | 6 +++--- .../ui/home/HorizontalProductAdapter.kt | 2 +- .../ui/order/CheckoutActivity.kt | 6 +++--- .../ui/order/CheckoutViewModel.kt | 10 ++++----- .../ui/order/PaymentMethodAdapter.kt | 8 +++---- .../ui/product/DetailProductActivity.kt | 4 ++-- .../ui/product/ProductUserViewModel.kt | 21 ++++++++++++------- .../storeDetail/StoreDetailActivity.kt | 4 ++-- .../storeDetail/StoreDetailViewModel.kt | 6 +++--- .../utils/viewmodel/ProductViewModel.kt | 8 +++---- app/src/main/res/layout/fragment_home.xml | 12 ----------- 14 files changed, 56 insertions(+), 63 deletions(-) diff --git a/app/src/main/java/com/alya/ecommerce_serang/data/api/response/customer/product/DetailStoreProductResponse.kt b/app/src/main/java/com/alya/ecommerce_serang/data/api/response/customer/product/DetailStoreProductResponse.kt index 0e2015f..122f37e 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/data/api/response/customer/product/DetailStoreProductResponse.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/data/api/response/customer/product/DetailStoreProductResponse.kt @@ -5,19 +5,19 @@ import com.google.gson.annotations.SerializedName data class DetailStoreProductResponse( @field:SerializedName("shipping") - val shipping: List, + val shipping: List, @field:SerializedName("payment") - val payment: List, + val payment: List, @field:SerializedName("store") - val store: StoreProduct, + val store: List, @field:SerializedName("message") val message: String ) -data class StoreProduct( +data class StoreItem( @field:SerializedName("store_id") val storeId: Int, @@ -38,19 +38,19 @@ data class StoreProduct( val storeLocation: String, @field:SerializedName("store_image") - val storeImage: String? = null, + val storeImage: String, @field:SerializedName("status") val status: String ) -data class ShippingItemDetail( +data class DetailShippingItem( @field:SerializedName("courier") val courier: String ) -data class PaymentItemDetail( +data class DetailPaymentItem( @field:SerializedName("qris_image") val qrisImage: String, @@ -59,7 +59,7 @@ data class PaymentItemDetail( val bankNum: String, @field:SerializedName("account_name") - val accountName: Any, + val accountName: String, @field:SerializedName("bank_name") val bankName: String, diff --git a/app/src/main/java/com/alya/ecommerce_serang/data/repository/OrderRepository.kt b/app/src/main/java/com/alya/ecommerce_serang/data/repository/OrderRepository.kt index 0f4f587..f9eda36 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/data/repository/OrderRepository.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/data/repository/OrderRepository.kt @@ -20,9 +20,9 @@ import com.alya.ecommerce_serang.data.api.response.customer.order.ListCityRespon import com.alya.ecommerce_serang.data.api.response.customer.order.ListProvinceResponse import com.alya.ecommerce_serang.data.api.response.customer.order.OrderDetailResponse import com.alya.ecommerce_serang.data.api.response.customer.order.OrderListResponse -import com.alya.ecommerce_serang.data.api.response.customer.product.PaymentItemDetail +import com.alya.ecommerce_serang.data.api.response.customer.product.DetailPaymentItem import com.alya.ecommerce_serang.data.api.response.customer.product.ProductResponse -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.api.response.customer.product.StoreResponse import com.alya.ecommerce_serang.data.api.response.customer.profile.AddressResponse import com.alya.ecommerce_serang.data.api.response.customer.profile.CreateAddressResponse @@ -217,7 +217,7 @@ class OrderRepository(private val apiService: ApiService) { } } - suspend fun fetchStoreDetail(storeId: Int): Result { + suspend fun fetchStoreDetail(storeId: Int): Result> { return try { val response = apiService.getDetailStore(storeId) if (response.isSuccessful) { @@ -238,7 +238,7 @@ class OrderRepository(private val apiService: ApiService) { } } - suspend fun fetchPaymentStore(storeId: Int): Result> { + suspend fun fetchPaymentStore(storeId: Int): Result> { return try { val response = apiService.getDetailStore(storeId) if (response.isSuccessful) { diff --git a/app/src/main/java/com/alya/ecommerce_serang/data/repository/ProductRepository.kt b/app/src/main/java/com/alya/ecommerce_serang/data/repository/ProductRepository.kt index 2d08a55..ac91d0e 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/data/repository/ProductRepository.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/data/repository/ProductRepository.kt @@ -7,12 +7,12 @@ import com.alya.ecommerce_serang.data.api.dto.Preorder import com.alya.ecommerce_serang.data.api.dto.ProductsItem import com.alya.ecommerce_serang.data.api.dto.SearchRequest import com.alya.ecommerce_serang.data.api.dto.Wholesale -import com.alya.ecommerce_serang.data.api.response.store.product.CreateProductResponse import com.alya.ecommerce_serang.data.api.response.customer.cart.AddCartResponse import com.alya.ecommerce_serang.data.api.response.customer.product.ProductResponse import com.alya.ecommerce_serang.data.api.response.customer.product.ReviewsItem -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.api.response.product.Search +import com.alya.ecommerce_serang.data.api.response.store.product.CreateProductResponse import com.alya.ecommerce_serang.data.api.retrofit.ApiService import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext @@ -118,13 +118,13 @@ class ProductRepository(private val apiService: ApiService) { } } - suspend fun fetchStoreDetail(storeId: Int): Result { + suspend fun fetchStoreDetail(storeId: Int): Result { return try { val response = apiService.getDetailStore(storeId) if (response.isSuccessful) { val store = response.body()?.store if (store != null) { - Result.Success(store) + Result.Success(store[0]) } else { Result.Error(Throwable("Empty response body")) } diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/chat/ChatViewModel.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/chat/ChatViewModel.kt index 2b8383f..677bf34 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/chat/ChatViewModel.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/chat/ChatViewModel.kt @@ -8,7 +8,7 @@ import androidx.lifecycle.viewModelScope import com.alya.ecommerce_serang.data.api.response.chat.ChatItem import com.alya.ecommerce_serang.data.api.response.chat.ChatItemList import com.alya.ecommerce_serang.data.api.response.chat.ChatLine -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.repository.ChatRepository import com.alya.ecommerce_serang.data.repository.Result import com.alya.ecommerce_serang.utils.Constants @@ -44,8 +44,8 @@ class ChatViewModel @Inject constructor( private val _chatListStore = MutableLiveData>>() val chatListStore: LiveData>> = _chatListStore - private val _storeDetail = MutableLiveData>() - val storeDetail: LiveData> get() = _storeDetail + private val _storeDetail = MutableLiveData>>() + val storeDetail: LiveData>> get() = _storeDetail // Chat parameters private var storeId: Int = 0 diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/home/HorizontalProductAdapter.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/home/HorizontalProductAdapter.kt index a23f60a..7c82da7 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/home/HorizontalProductAdapter.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/home/HorizontalProductAdapter.kt @@ -66,7 +66,7 @@ class HorizontalProductAdapter( fun updateLimitedProducts(newProducts: List) { val diffCallback = ProductDiffCallback(products, newProducts) - val limitedProducts = newProducts.take(10) // Limit to 10 items + val limitedProducts = newProducts.take(10) //limit 10 produk val diffResult = DiffUtil.calculateDiff(diffCallback) diffResult.dispatchUpdatesTo(this) updateProducts(limitedProducts) diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutActivity.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutActivity.kt index 42580e0..f7859e4 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutActivity.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutActivity.kt @@ -19,7 +19,7 @@ import androidx.recyclerview.widget.RecyclerView import com.alya.ecommerce_serang.data.api.dto.CheckoutData import com.alya.ecommerce_serang.data.api.dto.OrderRequest import com.alya.ecommerce_serang.data.api.dto.OrderRequestBuy -import com.alya.ecommerce_serang.data.api.response.customer.product.PaymentItemDetail +import com.alya.ecommerce_serang.data.api.response.customer.product.DetailPaymentItem import com.alya.ecommerce_serang.data.api.retrofit.ApiConfig import com.alya.ecommerce_serang.data.repository.OrderRepository import com.alya.ecommerce_serang.databinding.ActivityCheckoutBinding @@ -185,7 +185,7 @@ class CheckoutActivity : AppCompatActivity() { } } - private fun setupPaymentMethodsRecyclerView(paymentMethods: List) { + private fun setupPaymentMethodsRecyclerView(paymentMethods: List) { if (paymentMethods.isEmpty()) { Log.e("CheckoutActivity", "Payment methods list is empty") Toast.makeText(this, "No payment methods available", Toast.LENGTH_SHORT).show() @@ -210,7 +210,7 @@ class CheckoutActivity : AppCompatActivity() { } } - private fun updatePaymentMethodsAdapter(paymentMethods: List, selectedId: Int?) { + private fun updatePaymentMethodsAdapter(paymentMethods: List, selectedId: Int?) { Log.d("CheckoutActivity", "Updating payment adapter with ${paymentMethods.size} methods") // Simple test adapter diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutViewModel.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutViewModel.kt index e5ab34c..694fa0f 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutViewModel.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/order/CheckoutViewModel.kt @@ -10,7 +10,7 @@ import com.alya.ecommerce_serang.data.api.dto.OrderRequest import com.alya.ecommerce_serang.data.api.dto.OrderRequestBuy import com.alya.ecommerce_serang.data.api.response.customer.cart.CartItemsItem import com.alya.ecommerce_serang.data.api.response.customer.cart.DataItemCart -import com.alya.ecommerce_serang.data.api.response.customer.product.PaymentItemDetail +import com.alya.ecommerce_serang.data.api.response.customer.product.DetailPaymentItem import com.alya.ecommerce_serang.data.api.response.customer.profile.AddressesItem import com.alya.ecommerce_serang.data.repository.OrderRepository import com.alya.ecommerce_serang.data.repository.Result @@ -24,12 +24,12 @@ class CheckoutViewModel(private val repository: OrderRepository) : ViewModel() { private val _addressDetails = MutableLiveData() val addressDetails: LiveData = _addressDetails - private val _availablePaymentMethods = MutableLiveData>() - val availablePaymentMethods: LiveData> = _availablePaymentMethods + private val _availablePaymentMethods = MutableLiveData>() + val availablePaymentMethods: LiveData> = _availablePaymentMethods // Selected payment method - private val _selectedPayment = MutableLiveData() - val selectedPayment: LiveData = _selectedPayment + private val _selectedPayment = MutableLiveData() + val selectedPayment: LiveData = _selectedPayment private val _isLoading = MutableLiveData() val isLoading: LiveData = _isLoading diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/order/PaymentMethodAdapter.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/order/PaymentMethodAdapter.kt index 6028406..86b7254 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/order/PaymentMethodAdapter.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/order/PaymentMethodAdapter.kt @@ -6,14 +6,14 @@ import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.alya.ecommerce_serang.R -import com.alya.ecommerce_serang.data.api.response.customer.product.PaymentItemDetail +import com.alya.ecommerce_serang.data.api.response.customer.product.DetailPaymentItem import com.alya.ecommerce_serang.databinding.ItemPaymentMethodBinding import com.bumptech.glide.Glide import com.bumptech.glide.request.RequestOptions class PaymentMethodAdapter( - private val paymentMethods: List, - private val onPaymentSelected: (PaymentItemDetail) -> Unit + private val paymentMethods: List, + private val onPaymentSelected: (DetailPaymentItem) -> Unit ) : RecyclerView.Adapter() { // Track the selected payment by ID @@ -118,7 +118,7 @@ class PaymentMethodAdapter( } // Set selected payment object - fun setSelectedPayment(payment: PaymentItemDetail) { + fun setSelectedPayment(payment: DetailPaymentItem) { setSelectedPaymentId(payment.id) } } \ No newline at end of file diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/product/DetailProductActivity.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/product/DetailProductActivity.kt index 3e62dea..3cbe27d 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/product/DetailProductActivity.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/product/DetailProductActivity.kt @@ -23,7 +23,7 @@ import com.alya.ecommerce_serang.data.api.dto.CartItem import com.alya.ecommerce_serang.data.api.dto.ProductsItem import com.alya.ecommerce_serang.data.api.response.customer.product.Product import com.alya.ecommerce_serang.data.api.response.customer.product.ReviewsItem -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.api.retrofit.ApiConfig import com.alya.ecommerce_serang.data.api.retrofit.ApiService import com.alya.ecommerce_serang.data.repository.ProductRepository @@ -157,7 +157,7 @@ class DetailProductActivity : AppCompatActivity() { } } - private fun updateStoreInfo(store: StoreProduct?) { + private fun updateStoreInfo(store: StoreItem?) { store?.let { binding.tvSellerName.text = it.storeName binding.tvSellerRating.text = it.storeRating diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/product/ProductUserViewModel.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/product/ProductUserViewModel.kt index 5d5c27e..2338cdb 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/product/ProductUserViewModel.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/product/ProductUserViewModel.kt @@ -10,7 +10,7 @@ import com.alya.ecommerce_serang.data.api.dto.ProductsItem import com.alya.ecommerce_serang.data.api.response.customer.cart.AddCartResponse import com.alya.ecommerce_serang.data.api.response.customer.product.Product import com.alya.ecommerce_serang.data.api.response.customer.product.ReviewsItem -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.repository.ProductRepository import com.alya.ecommerce_serang.data.repository.Result import kotlinx.coroutines.launch @@ -20,8 +20,8 @@ class ProductUserViewModel(private val repository: ProductRepository) : ViewMode private val _productDetail = MutableLiveData() val productDetail: LiveData get() = _productDetail - private val _storeDetail = MutableLiveData>() - val storeDetail : LiveData> get() = _storeDetail + private val _storeDetail = MutableLiveData>() + val storeDetail : LiveData> get() = _storeDetail private val _reviewProduct = MutableLiveData>() val reviewProduct: LiveData> get() = _reviewProduct @@ -51,7 +51,7 @@ class ProductUserViewModel(private val repository: ProductRepository) : ViewMode loadStoreDetail(storeId) } } catch (e: Exception) { - Log.e("ProductViewModel", "Error loading product details: ${e.message}") + Log.e(TAG, "Error loading product details: ${e.message}") _error.value = "Failed to load product details: ${e.message}" } finally { _isLoading.value = false @@ -64,9 +64,10 @@ class ProductUserViewModel(private val repository: ProductRepository) : ViewMode try { _storeDetail.value = Result.Loading val result = repository.fetchStoreDetail(storeId) + Log.d(TAG, "Success call detail store: $result store id = $storeId") _storeDetail.value = result } catch (e: Exception) { - Log.e("ProductViewModel", "Error loading store details: ${e.message}") + Log.e(TAG, "Error loading store details: ${e.message}") _storeDetail.value = Result.Error(e) } } @@ -78,7 +79,7 @@ class ProductUserViewModel(private val repository: ProductRepository) : ViewMode val reviews = repository.fetchProductReview(productId) _reviewProduct.value = reviews ?: emptyList() } catch (e: Exception) { - Log.e("ProductViewModel", "Error loading reviews: ${e.message}") + Log.e(TAG, "Error loading reviews: ${e.message}") _reviewProduct.value = emptyList() } } @@ -96,11 +97,11 @@ class ProductUserViewModel(private val repository: ProductRepository) : ViewMode } // Filter by storeId and exclude current product _otherProducts.value = filteredProducts // Update LiveData } else if (result is Result.Error) { - Log.e("ProductViewModel", "Error loading other products: ${result.exception.message}") + Log.e(TAG, "Error loading other products: ${result.exception.message}") _otherProducts.value = emptyList() // Set empty list on failure } } catch (e: Exception) { - Log.e("ProductViewModel", "Exception loading other products: ${e.message}") + Log.e(TAG, "Exception loading other products: ${e.message}") _otherProducts.value = emptyList() } } @@ -125,6 +126,10 @@ class ProductUserViewModel(private val repository: ProductRepository) : ViewMode } } + companion object{ + private var TAG = "ProductUserViewModel" + } + } // fun loadStoreDetail(storeId: Int){ diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailActivity.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailActivity.kt index c51e925..fd00b60 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailActivity.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailActivity.kt @@ -15,7 +15,7 @@ import androidx.recyclerview.widget.LinearLayoutManager import com.alya.ecommerce_serang.BuildConfig.BASE_URL import com.alya.ecommerce_serang.R import com.alya.ecommerce_serang.data.api.dto.ProductsItem -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.api.retrofit.ApiConfig import com.alya.ecommerce_serang.data.api.retrofit.ApiService import com.alya.ecommerce_serang.data.repository.ProductRepository @@ -117,7 +117,7 @@ class StoreDetailActivity : AppCompatActivity() { viewModel.loadStoreDetail(storeId) } - private fun updateStoreInfo(store: StoreProduct?) { + private fun updateStoreInfo(store: StoreItem?) { store?.let { binding.tvStoreName.text = it.storeName binding.tvStoreRating.text = it.storeRating diff --git a/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailViewModel.kt b/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailViewModel.kt index 78baf3e..329a7df 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailViewModel.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/ui/product/storeDetail/StoreDetailViewModel.kt @@ -7,7 +7,7 @@ import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.alya.ecommerce_serang.data.api.dto.ProductsItem import com.alya.ecommerce_serang.data.api.response.customer.product.Product -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem import com.alya.ecommerce_serang.data.repository.ProductRepository import com.alya.ecommerce_serang.data.repository.Result import kotlinx.coroutines.launch @@ -27,8 +27,8 @@ class StoreDetailViewModel (private val repository: ProductRepository private val _error = MutableLiveData() val error: LiveData get() = _error - private val _storeDetail = MutableLiveData>() - val storeDetail : LiveData> get() = _storeDetail + private val _storeDetail = MutableLiveData>() + val storeDetail : LiveData> get() = _storeDetail fun loadOtherProducts(storeId: Int) { viewModelScope.launch { diff --git a/app/src/main/java/com/alya/ecommerce_serang/utils/viewmodel/ProductViewModel.kt b/app/src/main/java/com/alya/ecommerce_serang/utils/viewmodel/ProductViewModel.kt index e2d5611..280f3e1 100644 --- a/app/src/main/java/com/alya/ecommerce_serang/utils/viewmodel/ProductViewModel.kt +++ b/app/src/main/java/com/alya/ecommerce_serang/utils/viewmodel/ProductViewModel.kt @@ -8,10 +8,10 @@ import com.alya.ecommerce_serang.data.api.dto.CategoryItem import com.alya.ecommerce_serang.data.api.dto.Preorder import com.alya.ecommerce_serang.data.api.dto.ProductsItem import com.alya.ecommerce_serang.data.api.dto.Wholesale -import com.alya.ecommerce_serang.data.api.response.store.product.CreateProductResponse import com.alya.ecommerce_serang.data.api.response.customer.product.Product import com.alya.ecommerce_serang.data.api.response.customer.product.ReviewsItem -import com.alya.ecommerce_serang.data.api.response.customer.product.StoreProduct +import com.alya.ecommerce_serang.data.api.response.customer.product.StoreItem +import com.alya.ecommerce_serang.data.api.response.store.product.CreateProductResponse import com.alya.ecommerce_serang.data.api.response.store.product.UpdateProductResponse import com.alya.ecommerce_serang.data.repository.ProductRepository import com.alya.ecommerce_serang.data.repository.Result @@ -30,8 +30,8 @@ class ProductViewModel(private val repository: ProductRepository) : ViewModel() private val _productDetail = MutableLiveData() val productDetail: LiveData get() = _productDetail - private val _storeDetail = MutableLiveData() - val storeDetail : LiveData get() = _storeDetail + private val _storeDetail = MutableLiveData>() + val storeDetail : LiveData> get() = _storeDetail private val _reviewProduct = MutableLiveData>() val reviewProduct: LiveData> get() = _reviewProduct diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 8181a09..858d751 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -28,8 +28,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - - - - - - - - - - - - \ No newline at end of file