Herbal Plants Showcase App
This Android application allows users to explore various herbal plants found in Sri Lanka. Users can view a list of plants, access detailed information about each plant, add new plants, and delete existing ones.
Features
- Display a list of herbal plants in a RecyclerView on the main screen.
- Clicking on a plant item opens a detailed view showing more information about the selected plant.
- Add new plants using a form accessed via the "Add Item" button on the home screen.
- Long-pressing on a plant item triggers a confirmation dialog to delete the selected plant.
Screenshots




Technologies Used
- Android Studio: The app is developed using Android Studio IDE.
- Kotlin: Programming language used for implementing app logic.
- RecyclerView: Used to display the list of herbal plants efficiently.
- Intents: Employed for navigating between screens and passing data.
- Dialogs: Confirmation dialog for deleting items.
- SQLite Database: Used for data storage.
Setup
To run this project, follow these steps:
-
Clone the repository to your local machine.
git clone https://github.com/your_username/herbal-plants-showcase.git
-
Open the project in Android Studio.
-
Connect a physical device or start an emulator.
-
Build and run the project on the device/emulator.
Usage
- Launch the app on your device/emulator.
- Browse through the list of herbal plants.
- Click on a plant to view detailed information.
- To add a new plant, click on the "Add Item" button and fill out the required fields.
- To delete a plant, long-press on the plant item and confirm the deletion in the dialog.
Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork the project.
- Create your feature branch (git checkout -b feature/AmazingFeature).
- Commit your changes (git commit -m 'Add some AmazingFeature').
- Push to the branch (git push origin feature/AmazingFeature).
- Open a pull request.