Skip to content

Have FirebaseArray accessible from subclasses #205

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

Closed
wants to merge 1 commit into from
Closed

Have FirebaseArray accessible from subclasses #205

wants to merge 1 commit into from

Conversation

davideno
Copy link

Problem:
Currently, I think, It's not possible to remove items from the FirebaseListAdapter without removing it also on firebase db.

Proposal:
I think (not sure) that having access directly to FirebaseArray would allow to create in the subclass custom adapter a method to remove items only on the adpater and not in db.

Problem:
Currently, I think, It's not possible to remove items from the FirebaseListAdapter without removing it also on firebase db. 

Proposal:
I think (not sure) that having access directly to FirebaseArray would allow to create in the subclass custom adapter a method to remove items **only** on the adpater and not in db.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@davideno
Copy link
Author

I signed it

@davideno davideno closed this Jun 29, 2016
@davideno
Copy link
Author

I signed it

2016-06-29 18:15 GMT+02:00 googlebot [email protected]:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll

verify. Thanks.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#205 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AQRti3CYP50o9eH6nJmQROaOuxZjgobHks5qQporgaJpZM4JBT1o
.

@puf
Copy link
Contributor

puf commented Jun 29, 2016

Thanks for the PR. We had some good reasons behind not making the FirebaseArray accessible to sub-classes.

Can you open an issue (that's in general recommended before opening a PR) and give some more examples of how you'd use the array in your subclasses?

@davideno
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants