Comments (2)
When you login/register do it through firebase (implemented) and then pull data from users//...
User needs hasClaimedVacancy integer attribute.
Shelter detail activity needs to have new button added that you can type in number and then submit to claim vacancies. Check that there are vacancies available or the user hasn't claimed too many or already has some claimed (claimed > 0). Alert him of failure by toast. If the user has claimed vacancies, he can press a button on the main activity to unclaim them.
Update the shelter to have a totalcapacity and vacancy attributes. On reservation, update vacancy and store that to shelters//vacancy
Use csv script to send data to firebase in the first place
EDIT: PLEASE JAVADOC ANY ADDED METHODS
from buzzshelter.
Needs to have a user that knows his # of vacancies claimed and at which shelter.
User needs to ask shelter to claim a vacancy. Handle success or failure.
The shelter needs to be able to check if the vacancies you want to claim are allowed (i.e. enough space, not trying to claim too many) and report back to user if it was allowed
In shelter detailed view, there needs to be some input of a number and some button for claiming vacancy. Here the user object will request vacancy claiming. Toast if success or failure.
In mainActivity, there needs to be a button the clear vacancies. This will take the current user object and tell him to clear his vacancies. The user object should have method that clears his shelter and number of vacancies claimed. Toast the user on success.
from buzzshelter.
Related Issues (20)
- Add registration checks on character count
- M6- Display Shelter Information in a List
- M7- Search Feature HOT 2
- Persistence of Data and Users via Firebase
- M7- Create UML Diagram
- M9- Map HOT 3
- M10- Individual JUnit coverage and Javadocs
- Create Admin Class HOT 1
- Implement limited login attempts
- Edit CSV to match the required data we need to filter HOT 2
- EC - Fuzzy Search
- Get Directions to shelter and Phone call
- EC - Lockout after failure
- EC - Guest Login HOT 1
- DetailShelterView want buttons side by side HOT 1
- Final Exam
- Internationalization
- Internationalization
- Internationalization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buzzshelter.