Skip to content

TuwiqAndroidCode/HW_product_recycleview

Repository files navigation

HW product Recycleview


The Home Work has one part to be delievered before Sunday 9AM:

Part I

Create new application that display a list of product. Every element has a productImage, productName, productPrice, isVip and quantityNumber.

If the isVip is true then display the star image else hide it. If the user click on the button then check if the quantityNumber more then 0 open new activity and display the product’s name else display a toast with “the product is not available right now”



The product’s information
    product 1
    name:  Iphone 12 64GB
    price: 4500 SR
    isVip: yes
    quantityNumber: 5

     product 2
     name:  Samsung Galaxy S21 Ultra
     price: 4500 SR
     isVip: no
     quantityNumber: 5
     
     product 3
     name:  Xiaomi 11T Pro
     price: 2000 SR
     isVip: yes
     quantityNumber: 0

      product 4
      name:  Huawei Y6p
      price: 500 SR
      isVip: no
      quantityNumber: 0

      product 5
      name:  Samsung Galaxy Z Flip3
      price: 5000 SR
      isVip: yes
      quantityNumber: 70

      product 6
      name:  Iphone 13
      price: 6000 SR
      isVip: yes
      quantityNumber: 36

Final result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages