Giter Site home page Giter Site logo

alps-insects's People

Contributors

charmasaur avatar

Stargazers

 avatar

Watchers

 avatar  avatar

alps-insects's Issues

Add the code to github

Don't want to upload the code yet because it's got a whole lot of images and stuff in it, so is huge.

Fix up search

It starts a new activity with the results, but this seems kind of unnecessary and clunky. Could we just show them in the main activity?

Figure out the ID story

There are two IDs we use to identify a species -- the ID in the data and the ID assigned in the database. We need to figure out which one to use.

CursorAdapters by default give us the latter in click listeners and so on, which is quite convenient. And indeed, it shouldn't really be the adapter's job to give us things like the name of the species (for us to pass to MainActivity). The adapter should populate the list, and deal with putting the name of the species (and whatever other information it wants) into the UI there, but it shouldn't be responsible for anything else. Given that, it probably does make sense for the fragments that use the adapters just to get an ID and for them to extract the information they need from the database themselves.

It'd be easy to adjust the adapters to return the data ID instead of the row ID though, and the question here is whether we want to do this. Either way I should remove the logic described in the paragraph above from the adapters.

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.