• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Getting attributes from programatically added Views

I'm stuck developing an App that does the following:

I can add "Spots" with the Add button at the bottom of the activity_main.xml, I add them programatically, so I have a Layout with the "Spot Editor" that are just buttons and Text Inputs of every row to be added.

I inflate the entire Layout as a View in the activity_main.xml, so then I just want to fill data in the buttons and text inputs and "Add the Spot", so I delete that View of "Edit the Spot" and put another View programatically just the same way that is the "Final Spot", that displays the filled data with Text, not Text Inputs.

With the pencil icon I want to go back to "Edit mode"...

How can I get the data from the programatically added Views to fill the new Views (that I'm also adding programatically to the layout)?

Attachments

  • WhatsApp Image 2020-07-28 at 00.59.56.jpeg
    WhatsApp Image 2020-07-28 at 00.59.56.jpeg
    39.8 KB · Views: 272
  • WhatsApp Image 2020-07-28 at 00.59.56(1).jpeg
    WhatsApp Image 2020-07-28 at 00.59.56(1).jpeg
    70.7 KB · Views: 255
  • WhatsApp Image 2020-07-28 at 00.59.56(2).jpeg
    WhatsApp Image 2020-07-28 at 00.59.56(2).jpeg
    86.6 KB · Views: 263
  • WhatsApp Image 2020-07-28 at 00.59.56(3).jpeg
    WhatsApp Image 2020-07-28 at 00.59.56(3).jpeg
    50.9 KB · Views: 263
  • WhatsApp Image 2020-07-28 at 01.02.41.jpeg
    WhatsApp Image 2020-07-28 at 01.02.41.jpeg
    250.9 KB · Views: 246
  • WhatsApp Image 2020-07-28 at 01.02.41(1).jpeg
    WhatsApp Image 2020-07-28 at 01.02.41(1).jpeg
    295.2 KB · Views: 276

S5 $@%*ING up all over the place

I don't really do much cloud stuff. What I meant about googoo is all that play store, hangouts, etc. that I rarely if ever use but is apparently superglued into the phone by God knows who. It seems only rooting can take care of this, and I have had very little luck with that.
Google you mean by that, you should intaken by itself, instead of chasing a wild ghost, or do the usb thing with your comp and just dump everything in that way, and work with your problem.

But keep in mind by rooting away something that is easily unavoidable you are in Ultra effing high risk, of not having everything that is on your phone, so would you just leave it be?

Major sd problem

I would love to keep the 256 gb sd in the S5 but since it seems not to be working and I probably can't have 2 in at the same time, I have reluctantly stowed it for now. Of course, just because I bragged about being such a good caretaker and all around pocket person, I lost the darn thing. It fell right out of my pocket, along with other things. The good news is that I found it and now the SD and Cricket sim are in 2 separate bags in a larger bag of phone stuff. Meanwhile, photos and videos are apparently being automatically saved to sd, and I'm switching screenshots "by hand". That's taking a lot of time because it turns out that the phone has some dating back to last September. I suppose this sort of thing teaches patience...

Phone Display Only Shows Number

In fact, there is a whole collection of those Simple Mobile Tools apps.

If you look on F-Droid, they are all there.

Just do a search for 'Simple' and add what you are looking for...
gallery, dialer, contacts, calculator, calender, etc.

Be sure to also get the Thank You app, as it is an excellent way to sycronize the theme settings for the entire set.

All of the apps together are smaller in size than many single purpose apps.
Thanks. One dumb question:
That worked! Thanks! I only saw the Simple Dialer and Simpletask on F-Droid, but it seems the Google Play has the others.

Turn-based tactical roguelike game

If you are looking for a game like Into the Breach for Android, then you can try our new game – Droid Mania: Tactical Roguelike.
screen1.1595879356.jpg

This is Hardcore turn-based roguelike tactics. Completely free and offline. You can test your strategic and tactical skills in this turn-based game.
Features:
– Hardcore challenge
– Completely offline
– Procedurally generated levels
– Permadeath
– Saving your progress when exit app
– A lot of unexpected and funny situations
– RPG elements: experience points and unit levels
– Optimized for one-handed play
The game is completely free. No forced ads.
Google Play:
https://play.google.com/store/apps/details?id=com.AlexB.DroidMania

Filter

Back
Top Bottom