200-0k / e_commerce Goto Github PK
View Code? Open in Web Editor NEWHyperZ
HyperZ
الي بيسويها يسويها بالطريقة الي تعجبه بس اشوف انها افضل تكون بالطريقة هذي:
ConstraintLayout
├── LinearLayout (Vertical) <-- Constraint: 0-Top, Left-0, Right-0
│ ├── Product image
│ ├── LinearLayout (Horizontal)
│ │ ├── Rate
│ │ └── Product Title
│ ├── Price
│ └── Description
└── LinearLayout (Vertical) <-- Constraint: 0-Bottom, Left-0, Right-0
├── LinearLayout (Horizontal)
│ ├── Minus Button
│ ├── Quantity Label
│ └── Plus Button
└── Add To Cart Button
Generate details dynamically
Using Intent
putExtra
method to get product id.
Switch to home fragment when category has changed.
themes.xml
to style category componentsTo navigate between fragments use
Navigation.findNavController(<VIEW>).navigate(<Destination Frag ID>);
A database class to access product and category tables.
Use Room Library to implement this feature. Guide1 Guide2
volatile
& synchronized
Product
table:Category
table:الي بيسويها يسوي اول وحدة بس، الباقي راح تجي برمجيًا على حسب قاعدة البيانات
ConstraintLayout
└── LinearLayout (Vertical) <-- Constraint: 0-Top, Left-0, Right-0
├── LinearLayout (Horizontal)
│ ├── Icon 1
│ └── Category Name 1
├── LinearLayout (Horizontal)
│ ├── Icon 2
│ └── Category Name 2
└── ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.