Skip to content

shariar99/Retrofit-post

Repository files navigation

Retrofit-post

2023-05-24.00-39-33.online-video-cutter.com.mp4

E-Commerce Android App Add Product Demo

This is an Android app for an e-commerce platform that allows users to browse and add products. The app integrates with a RESTful API to retrieve and display product data. Users can also add new products by providing the necessary information.

Features

  • Display a list of products retrieved from the API
  • Add new products by entering title, price, description, image URL, and category
  • API integration using Retrofit library
  • RecyclerView for efficient product list display
  • User-friendly UI with EditText fields and a button

Technologies Used

  • Android SDK
  • Java programming language
  • Retrofit library for API communication
  • Gson library for JSON parsing
  • RecyclerView for displaying product list
  • LinearLayout and ScrollView for UI layout
  • Git for version control

Installation

  1. Clone the repository: git clone https://github.com/shariar99/Retrofit-post.git
  2. Open the project in Android Studio.
  3. Build and run the app on an Android device or emulator.

Note: Make sure you have the Android SDK and necessary dependencies installed.

Usage

  1. Launch the app on your Android device or emulator.
  2. The app will display a list of products retrieved from the API.
  3. Scroll through the list to view the available products.
  4. To add a new product, enter the details in the provided EditText fields (title, price, description, image URL, and category).
  5. Click the "Add" button to submit the product details to the API and add the product.
  6. The newly added product will be displayed in the product list.

Contributing

Contributions are welcome! If you find any bugs or want to add new features, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.