Giter Site home page Giter Site logo

Comments (11)

SiggiGue avatar SiggiGue commented on September 24, 2024 1

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.

DocSniper avatar DocSniper commented on September 24, 2024 1

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.

woefe avatar woefe commented on September 24, 2024

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.

DocSniper avatar DocSniper commented on September 24, 2024

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.

woefe avatar woefe commented on September 24, 2024

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.

DocSniper avatar DocSniper commented on September 24, 2024

A sorted drop down list would be nice. Sounds good and I'm looking forward to test it.

from shoppinglist.

Docbroke avatar Docbroke commented on September 24, 2024

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.

woefe avatar woefe commented on September 24, 2024

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.

cast-away avatar cast-away commented on September 24, 2024

+1 for the ShoLi approach!

from shoppinglist.

pyropingvin avatar pyropingvin commented on September 24, 2024

+1 for the ShoLi approach!
simple and effective

from shoppinglist.

1337sup3rh4x0r avatar 1337sup3rh4x0r commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.