Comments (11)
This would be the feature for me to finally use this shopping list app!
The ability to share the data via syncthing is so great and would also be nice for the autocompletion item list. Maybe instead of using sqlite just use *.autocomplete files containing distinct items ever added (either just the item names or additionally a counter for each name). These *.autocomplete files would be used by the app automatically to accelerate adding items.
The text file approach would maintain the simplicity and keep all data editable and shareable via e.g. syncthing!
Since i'm not used to java i am sorry not to be able to provide a pull request for this...
Anyway i would be extremely happy with this functionality added!
from shoppinglist.
Great idea @SiggiGue and makes a lot of sense. When the shopping lists are text files then the auto complete list should be a text file too. Makes syncing with nextcloud or syncthing a dream. :-)
from shoppinglist.
I'm leaning more towards implementing autocompletion than a second list of requently used items, because I think the "flow" of adding items will be better. When using the list approach, I might not remember which items are on this list. If an item is not on the list I have to go back to type the item manually, which takes more time than than typing the item immediately. Also, searching in this list is basically what autocomletion does.
from shoppinglist.
I like your idea from above and I think it's very useful and should be implemented.
Another useful implementation would be a copy function from one list to another list.
I dislike entering my items always and always again and even with auto complete I have to input some letters. I prefer a sorted list with all my items to choose from.
With a copy function I can have all my items in one of the lists and when I want to create my shopping list or export it and sent it to another person I only need to use the "copy checked items" function and select another list.
@woefe: What do think ?
from shoppinglist.
Thanks a lot for your feedback! Copying between lists is a great idea. But it might be difficult to implement using the current ListView, which I basically copied form a Google sample project. It is not perfect and better alternatives exist in Android today. When I touch this part of the code base again, I will consider copy/paste.
But for now, I will implement autocompletion. From what I've read so far, it seems to be possible to display the autocompletion dropdown, without having to type a single character.
from shoppinglist.
A sorted drop down list would be nice. Sounds good and I'm looking forward to test it.
from shoppinglist.
You may look at "ShoLi", it is there in f-droid. Every item ever added to any list goes to default database which is never deleted unless user choose so explicitely. So whenever user wants to add an item to a list he can choose from default database or types few characters to search and autocomplete.
from shoppinglist.
Thanks for your input! ShoLi provides an efficient interface, indeed. I will keep it in mind (maybe as replacement for autocompletion, but I first want to try autocompletion)
from shoppinglist.
+1 for the ShoLi approach!
from shoppinglist.
+1 for the ShoLi approach!
simple and effective
from shoppinglist.
I too would love to See the auto complete approach based on a lost in a file that can also easily be synced over devices.
from shoppinglist.
Related Issues (20)
- Implement scoped directory access
- [Feature request] Add option, to rename a shopping list HOT 2
- Publish to Play Store HOT 1
- Add product images and recurring items HOT 1
- Remember last used list HOT 1
- Edit item, click back should directly close
- Register to open .lst files
- Highlight item when typing?
- Provide a grammar for the list syntax
- No javadoc comments
- Copycat on Google Play
- Check/uncheck items only in the middle
- search HOT 2
- shopping list is reset after using filechooser to select storage directory
- Crashes when being opened after selecting DCIM folder for storing shopping list file
- Show totals in list overview
- Offer round icon
- Support Wear OS
- Make a new release HOT 1
- allow choosing colours for font
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 shoppinglist.