-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persons databse #3
base: master
Are you sure you want to change the base?
Conversation
Hello, What is the feature of this? |
Hello, Sorry for this Pull Request. It wasn't intentional. When I forked a repo from someone else and git push-ed to it, it pushed to my own forked repo by default. Sorry |
I understand, well; for example, you searched. When you touch any person in the search result, it shows the details of that person, is not it? |
Look it was a year ago, and at the moment we're in Ravi Tamada's github repo. Long story short: I used this rxJava search in my project, just to see how to implement into my app. I remember at first I made a PersonBook application, in Java which implemented this rxJava search. I will make my PersonBook public, so you can see it. But later I started Kotlin and basically rewrote PersonBook to RestApiBrowser. And also replaced this rxJava search function with Kotlin's Coroutine. |
So, if yout goto: https://github.com/gmiklay/PersonBook BAck to your question ("When you touch any person in the search result, it shows the details of that person, is not it?): I don't remember if I finished the functionality or not, but this behaviour what you wrote should happen. |
RestApiBrowser: PersonsBaseFragment.kt
Basically this function is responsible for the search to start after some inactivity from the user (delay(userPreferenceValue(UI_REACTION_DELAY_KEY) as Long)), or to wait for another time if the user entered a new character. |
if you have any questions about these samples just ask me. I hoped I could help. Gábor |
Great, thank you for your information. I needed something like this in my project and I think I will do it with your help, thank you for advance. |
No problem. I'm glad I could help. |
In the meantime I found this and made public: https://github.com/gmiklay/PersonsApplication Maybe it contains something useful. |
Thank you 👍 |
I've made PersonBook and PersonApplication private, cause these are not something I'd like to present. If you're still interested I can share them with you. Just write me. |
When I got the 404 error, I thought you would give up. I would be incredibly happy if you share. |
It's done! |
Thank you! |
https://github.com/gmiklay/RestApiBrowser |
We can see, how I got from Persons Database's minimal code of mine + ravi's code in Java, through the PersonsBook, to the RestApiBrowser's Kotlin code + rest_api_demo's Php+MySql backend with authentication. Quite a transformation. |
No description provided.