The Home Work has one part to be delievered before Sunday 9AM:
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
