kareem983 / Grocery-Shopping-System-App

Full android Grocery Shopping System App. It consist of Admin and users: (Using online Firebase Database) Admin can login to the system. He also can to Add, Edit, Delete an Existence category/s or create new category (Category name, Category cost, available Category amount, Expiry date) Users can to register or login to the system the system shows the existence categories (fruits, meats, Vegetables, etc...) the user can search about product and know product info (cost, available amount, Expiry date) the user also can to make an order by giving the system (Destination, product name, product amount) the delivery task is deliver this product to the user in selected time
Apache License 2.0
69 stars 34 forks source link

Fatal error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at com.example.groceryshoppingsystem.Adapters.GridproductAdapter.getView(GridproductAdapter.java:67) #3

Closed nabilnazar closed 2 years ago

nabilnazar commented 2 years ago

https://stackoverflow.com/questions/69953841/android-studio-fatal-exception-app-getting-crashed-on-starting

noorulain-dev commented 2 years ago

I have the same error

kareem983 commented 2 years ago

This is because i closed database access for every user for some specific reasons. I will Resolve it soon.

noorulain-dev commented 2 years ago

Could you grant me access?

nabilnazar commented 2 years ago

This is because i closed database access for every user for some specific reasons. I will Resolve it soon

I connected it with my firebase console and successfully logged in to application, but I couldn't see the products listed , however I saw different categories sections without products.

rkjunior1998 commented 2 years ago

Hello how do you connect it to the firebase? Even though I have manually connected to firebase and registered a user but it keeps crashing and showing the error. Is it by putting the realtime database address into getReference() in GridProductAdapter?

This is because i closed database access for every user for some specific reasons. I will Resolve it soon

I connected it with my firebase console and successfully logged in to application, but I couldn't see the products listed , however I saw different categories sections without products.

@nabilnazar