Code Monkey home page Code Monkey logo

dton's People

Contributors

dgets avatar

Stargazers

 avatar  avatar

Watchers

 avatar

dton's Issues

Determine proper way to lay out RecyclerView

As mentioned in #8, the RecyclerView is currently just scrolling items off of the screen instead of letting us scroll through them in any sort of vertical manner. Need to fix this and make sure that other layout such as anchoring and constraints are set properly.

Create README

Just a brief synopsis of the goals of this project will suffice for now.

Add ability to save & retrieve the preset frequencies listing

This is really necessary at this point. We're going to be handling a lot of testing through the coming iterations, and having to manually deal with that god-awful android emulator mouse point 'n click interface with each time that a new run occurs would take more time than doing the hacking itself. So before anything else, I think it's important to get that list save working and autoloading, so that we can jump right into whatever we need to test upon an iteration instead of fumbling with that crap.

Learn to add more resource files

For example, in the primary display, the frequency box is currently populated initially with the resource identifier @numeric/base_frequency, instead of the corresponding resource's value. There is a good reason to have some numerics pre-populated here, so it'd be good to get this figured out.

Wipe LinearLayout in preparation for new items in updateDisplay()

After something such as presets being loaded initially occurs, the entire list is appended to what is already there if you do anything that requires another call to updateDisplay(). Thus, the method needs to wipe its contents before adding whatever needs to be in there after whatever action was taken.

Determine how to find out when an entry's row in the presets has been clicked

This may actually require shifting the layout to contain a different sort of element than the TableRow that they're currently within. I have no idea if this has an _onClick method, or anything similar, but I'll be digging through the methods soon here.

Either way, we need to figure out when a user has clicked one of the entries, no matter what thread it requires us to follow.

Constrain/anchor display elements

Check through the layout and xml for the warnings regarding unanchored elements that will float upon resizing. Read the dox on the different forms of anchoring, too, so that things don't become such a mess when the onscreen keyboard is active.

Implement a method for deleting preset entries

I'm thinking right now that checking for a long click, then displaying a confirmation dialog, is probably the best way to go about this. Hopefully the TextView will implement such without any sort of godawful headaches like implementing onClick() for the RecyclerView/CardView layout that I had before.

Figure out how to stop more than 1 tone's playback

With commit 7485b5f, playback and stopping playback for a single tone is working without any issues. However, due to the asynchronous nature of things, it is possible to play back more than one tone at a time. When this happens, clicking the associated preset list item to try to stop the tone will only end a single tone. Multiple clicks to the other entries will start playback for more, but you cannot end the playback of other concurrent tones; at least not all of them. This needs to be fixed; unless, due to the way things are set up, it turns into a nightmare, in which case it might be easier to just limit playbacks to one tone at a time until I've gotten through enough Android and Java classes/tutorials to be able to handle this the right way.

Add JavaDoc

There's some inline documentation, but none of the actual javadoc. Get it added.

Frequency text entry doesn't reset when clicking into

This leaves the text notice for what goes into that field needing to be manually deleted. I think there were some issues with saving the name for the particular preset frequency, as well, but I do know that sometimes that one works.

  • fix click into and out of (restore the message if nothing else there) the preset frequency entry name field
  • fix the same for the preset frequency entry frequency field

Create globals

If nothing else, at least for wrappers to Toast for debugging; the constants can probably be moved into this section, as well, since they are in an ill-named class at the moment.

Dynamic addition of tone entries to TableLayout

Perhaps not worthy of a full issue, but I'm doing it so that I have the notes somewhere on any issues that might arise with dynamic addition of entries to a TableLayout. Things seem to be going good (at least as far as programmatic static entry to the table), but I know I've run into issues when I've tried any layout with this complex of a structure before. Remember, I'm not a total 'droid virgin, but my layout skills leave quite a bit to be desired at this point.

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.