You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Release/1.0.26 - Update docs
* Updated Live Queries related documentation (#301)
* Added an example of how to update existing object values (#309)
* Fixed the Parse().initialize's return value (#307)
* Release/1.0.26 - Update docs
* Updated Live Queries related documentation (#301)
* Fixed the parse initialize method
Parse().initialize returns a new instantiation of the Parse class, but it should return the initialized instance.
Co-authored-by: Phill Wiggins <[email protected]>
Co-authored-by: mregandla <[email protected]>
* Added example for update existing Object values
Maybe need some correction. Thank you.
Co-authored-by: James Brinkerhoff <[email protected]>
Co-authored-by: Phill Wiggins <[email protected]>
Co-authored-by: mregandla <[email protected]>
* Specifying return type of get<T> as T instead of dynamic (#310)
* Fixed the Parse().initialize's return value (#307)
* Release/1.0.26 - Update docs
* Updated Live Queries related documentation (#301)
* Fixed the parse initialize method
Parse().initialize returns a new instantiation of the Parse class, but it should return the initialized instance.
Co-authored-by: Phill Wiggins <[email protected]>
Co-authored-by: mregandla <[email protected]>
* Specified T return type instead of dynamic for get<T> method
Co-authored-by: James Brinkerhoff <[email protected]>
Co-authored-by: Phill Wiggins <[email protected]>
Co-authored-by: mregandla <[email protected]>
* Live query connection stream (#314)
* Fixed the Parse().initialize's return value (#307)
* Release/1.0.26 - Update docs
* Updated Live Queries related documentation (#301)
* Fixed the parse initialize method
Parse().initialize returns a new instantiation of the Parse class, but it should return the initialized instance.
Co-authored-by: Phill Wiggins <[email protected]>
Co-authored-by: mregandla <[email protected]>
* added live-query-client-event-stream
* Update parse_live_query.dart
* Cleanup
Co-authored-by: James Brinkerhoff <[email protected]>
Co-authored-by: Phill Wiggins <[email protected]>
Co-authored-by: mregandla <[email protected]>
* Livequery reconnecting controller (#316)
* Fix: reconnecting
Done as in #315 (comment) described.
* Changed type of Future
Done as described in fischerscode@805e830#r37587405.
* Revert "Changed type of Future"
This reverts commit fecee76.
* adding LiveQueryReconnectingController
This is a solution for #315 (comment)
How it works:
- Only the LiveQueryReconnectingController handles reconnecting after a connection loss.
- LiveQueryReconnectingController holds informations:
1. connection state of the device
2. did the user disconnected from the server
3. is currently a connection to the server estalished
- LiveQueryReconnectingController tries to reconnect after preset timespans.
* cleanup
* remove _userDisconnected from Client
This is not needed any more.
Keeping track of this information is now done by LiveQueryReconnectingController.
* subscribe(query) modified
Wait until client is connected to live-query-server.
Fixes fischerscode@d058eb0#r37612749
* Parsequery OR (#317)
* Start adding or
First idea for #213
Works with normal Query and LiveQuery.
Missing:
- any kind of "UserError handling"
- further testing
* Update parse_query.dart
* Fix for Sembast-API change (#322)
See: #321 (comment)
* added QueryBuilder.copy(QueryBuilder<T> query) (#320)
* added QueryBuilder.copy(QueryBuilder<T> query)
Added a implementation to create a new QueryBuilder based on an old one.
This is a deep copy.
Tested only with basic queries.
* added QueryBuilder.copy(QueryBuilder<T> query)
Added a implementation to create a new QueryBuilder based on an old one.
This is a deep copy.
Tested only with basic queries.
* ParseLiveList (#324)
* Created ParseLiveList
* LiveList & LivListBuilder works
* Cleanup
* changed to animated list
* Fix in dataloading
* updated AnimatedList
* Finished Animations & cleanup
* handle reconnect
* Added dispose methodes & renamed classes & cleanup
* cleanup
* Fix animation duration
* added README ParseLiveList section
* Initialized example_livelist
* Update application_constants.dart
* Update .gitignore
* Revert "Update .gitignore"
This reverts commit 4d8982d.
* Update .gitignore
* HotFix: object Update from client
If the client changes the object.
(ParseObject does not get copied)
* Implemented simple example
* Update README.md
* Update main.dart
* Update README.md
* Update README.md
* added ParseACL to parseEncode (#326)
As described in #325 (comment).
Should Fix#325
* ParseLiveList Performance improvement (#327)
* Created ParseLiveList
* LiveList & LivListBuilder works
* Cleanup
* changed to animated list
* Fix in dataloading
* updated AnimatedList
* Finished Animations & cleanup
* handle reconnect
* Added dispose methodes & renamed classes & cleanup
* cleanup
* Fix animation duration
* added README ParseLiveList section
* Initialized example_livelist
* Update application_constants.dart
* Update .gitignore
* Revert "Update .gitignore"
This reverts commit 4d8982d.
* Update .gitignore
* HotFix: object Update from client
If the client changes the object.
(ParseObject does not get copied)
* Implemented simple example
* Update README.md
* Update main.dart
* Update README.md
* Update README.md
* LiveList - Performance Improvement
This is the change mentioned in #324 (comment)
Requires #326
* LiveList - Performance Improvement
This is the change mentioned in #324 (comment)
Requires #326
* example_livelist: use clientKey
* Changed example_livelist query
In the README I wrote, you can use a field called "show" to hide elements.
* ParseLiveListElementSnapshot added (#329)
* Created ParseLiveList
* LiveList & LivListBuilder works
* Cleanup
* changed to animated list
* Fix in dataloading
* updated AnimatedList
* Finished Animations & cleanup
* handle reconnect
* Added dispose methodes & renamed classes & cleanup
* cleanup
* Fix animation duration
* added README ParseLiveList section
* Initialized example_livelist
* Update application_constants.dart
* Update .gitignore
* Revert "Update .gitignore"
This reverts commit 4d8982d.
* Update .gitignore
* HotFix: object Update from client
If the client changes the object.
(ParseObject does not get copied)
* Implemented simple example
* Update README.md
* Update main.dart
* Update README.md
* Update README.md
* LiveList - Performance Improvement
This is the change mentioned in #324 (comment)
Requires #326
* LiveList - Performance Improvement
This is the change mentioned in #324 (comment)
Requires #326
* example_livelist: use clientKey
* Changed example_livelist query
In the README I wrote, you can use a field called "show" to hide elements.
* Remove: RemovedItemBuilder
duplicade to ChildBuilder
* removed firstBuild
* ParseLiveListElementSnapshot added
* Clear unsaved changes (#331)
* added clearUnsavedChanges
An idea for #318
* moved clearUnsavedChanges to ParseBase
* LiveQueryController: connect at init (#332)
Should fix#330
* LiveList: fixed defaultBuilder (#333)
* Added generics to Query/LiveQuery (#336)
* LiveQuery: fixes list is null (#334)
* Fix: #341 (#342)
It seems like `subscription.on(LiveQueryEvent.update` reuses a existing object.
* Updating LiveQuery for web (#340)
* LiveQuery: fixes list is null
* Updating LiveQuery for web
parse_live_query_web was outdated compared to parse_live_query.
Note: parse_live_query was copied and fixed again for this change.
Co-authored-by: Phill Wiggins <[email protected]>
* Release/1.0.26 - Code formatting, remove lint issues
Co-authored-by: mregandla <[email protected]>
Co-authored-by: L. Rommy Arbantas <[email protected]>
Co-authored-by: James Brinkerhoff <[email protected]>
Co-authored-by: Michal Baran <[email protected]>
Co-authored-by: Maximilian Fischer <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+68-1Lines changed: 68 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Want to get involved? Join our Slack channel and help out! (http://flutter-parse
13
13
To install, either add to your pubspec.yaml
14
14
```yml
15
15
dependencies:
16
-
parse_server_sdk: ^1.0.25
16
+
parse_server_sdk: ^1.0.26
17
17
```
18
18
or clone this repository and add to your project. As this is an early development with multiple contributors, it is probably best to download/clone and keep updating as an when a new feature is added.
19
19
@@ -57,6 +57,13 @@ var dietPlan = ParseObject('DietPlan')
57
57
..set('Fat', 65);
58
58
await dietPlan.save();
59
59
```
60
+
Or update existing object by its objectId by calling:
61
+
```dart
62
+
var dietPlan = ParseObject('DietPlan')
63
+
..objectId = 'R5EonpUDWy'
64
+
..set('Fat', 70);
65
+
await dietPlan.save();
66
+
```
60
67
Verify that the object has been successfully saved using
61
68
```dart
62
69
var response = await dietPlan.save();
@@ -423,6 +430,66 @@ LiveQuery server.
423
430
liveQuery.client.unSubscribe(subscription);
424
431
```
425
432
433
+
## ParseLiveList
434
+
ParseLiveList makes implementing a dynamic List as simple as possible.
435
+
436
+
437
+
It ships with the ParseLiveList class itself, this class manages all elements of the list, sorts them,
438
+
keeps itself up to date and Notifies you on changes.
439
+
440
+
ParseLiveListWidget is a widget that handles all the communication with the ParseLiveList for you.
441
+
Using ParseLiveListWidget you can create a dynamic List by just providing a QueryBuilder.
442
+
443
+
```dart
444
+
ParseLiveListWidget<ParseObject>(
445
+
query: query,
446
+
);
447
+
```
448
+
To customize the List Elements, you can provide a childBuilder.
0 commit comments