Project Features
- MVVM (Model, View, ViewModel)
- LiveData
- DataBinding
- Retrofit
- Room Database
- Navigation Component (NavGraph, BottomNav)
- ViewPager2 in TabLayout
- Firebase Auth Source
- SearchView in Adapter Source
- Picasso Source
- Lottie Source
- Animated Svg for Splash Source
Login Screen
TabLayout and ViewPager2 are used for the Login and Sign up screens. Login and Sign up operations are provided with Firebase Authorization.
Main Screen
– Books listed using RecyclerView + DataBinding.
– Book search feature works with author, book name, and publisher name. Search can be made using the SearchView in the RecyclerView.
– When the book image is pressed, a BottomSheet opens, and details are displayed. The book can be sent to the basket using the “Add to Basket” button.
– The + button in the CardView is used to add a book to the basket. (Note: Images are loaded using URL.)
Basket Screen
Books are added to the basket with Room Database, displayed using RecyclerView, and can be deleted from the Room Database using the Delete button.
Payment Screen
When one of the four payment methods is selected, the relevant information is uploaded to the card below. It can be edited using the edit address button. An alert appears when the “Order Now” button is clicked, confirming the order.
Profile Screen
User information is retrieved using Firebase Auth. The account can be logged out by clicking the Sign Out button.
Troubleshooting
If you encounter issues while using the Books App, here are a few troubleshooting ideas:
- Firebase Authentication Errors: Ensure that you have set up the correct API keys and enabled email/password authentication in your Firebase console.
- Image Loading Issues: If images are not loading correctly, check that the URLs used in Picasso are accessible and correct.
- Database Errors: If you’ll face issues with adding or removing books, ensure that your Room Database is set up correctly and migrations are in place for updates.
- Search Functionality: If the search feature isn’t filtering results, validate that the data passed to the adapter is correctly structured and not null.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.