vikktorn / ExampleCountryPicker

Android Country, State/Region, City picker
9 stars 4 forks source link

Fetch States and Cities from Firebase Realtime? #8

Open thomasp7983 opened 4 years ago

thomasp7983 commented 4 years ago

How do we use this code to fetch States and Cities from Firebase Realtime Database?

Please help.

vikktorn commented 4 years ago

All data is in JSON file that is in library, so for getting data from firebase you must make your own method

Viktor Nesic

On Fri, May 22, 2020, 1:31 PM thomasp7983 notifications@github.com wrote:

How do we use this code to fetch States and Cities from Firebase Realtime Database?

Please help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vikktorn/ExampleCountryPicker/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3LL6X5WN6L2JA2LIVHSTTRSZPBPANCNFSM4NHWVLAQ .

thomasp7983 commented 4 years ago

Would you mind helping me by giving me some guidance on this?

I am able to get the data from Firebase but I am not sure how do we get only states after selecting country and cities after selecting states.

Please gudie me.

Thank you.

On Fri, 22 May, 2020, 11:08 PM Viktor Nesic, notifications@github.com wrote:

All data is in JSON file that is in library, so for getting data from firebase you must make your own method

Viktor Nesic

On Fri, May 22, 2020, 1:31 PM thomasp7983 notifications@github.com wrote:

How do we use this code to fetch States and Cities from Firebase Realtime Database?

Please help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vikktorn/ExampleCountryPicker/issues/8, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AD3LL6X5WN6L2JA2LIVHSTTRSZPBPANCNFSM4NHWVLAQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vikktorn/ExampleCountryPicker/issues/8#issuecomment-632823181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOD2ZYQV3IYVJPRR7W2KH2LRS22AXANCNFSM4NHWVLAQ .

vikktorn commented 4 years ago

This is point that you in spinner get only states from selected country and cities from selected state

Viktor Nesic

On Sat, May 23, 2020, 4:04 AM thomasp7983 notifications@github.com wrote:

Would you mind helping me by giving me some guidance on this?

I am able to get the data from Firebase but I am not sure how do we get only states after selecting country and cities after selecting states.

Please gudie me.

Thank you.

On Fri, 22 May, 2020, 11:08 PM Viktor Nesic, notifications@github.com wrote:

All data is in JSON file that is in library, so for getting data from firebase you must make your own method

Viktor Nesic

On Fri, May 22, 2020, 1:31 PM thomasp7983 notifications@github.com wrote:

How do we use this code to fetch States and Cities from Firebase Realtime Database?

Please help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vikktorn/ExampleCountryPicker/issues/8, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AD3LL6X5WN6L2JA2LIVHSTTRSZPBPANCNFSM4NHWVLAQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/vikktorn/ExampleCountryPicker/issues/8#issuecomment-632823181 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOD2ZYQV3IYVJPRR7W2KH2LRS22AXANCNFSM4NHWVLAQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vikktorn/ExampleCountryPicker/issues/8#issuecomment-632969245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3LL6XSFR5UPYMC5KLHAH3RS4VMFANCNFSM4NHWVLAQ .