Gold coins
Man, back in the '80s, the television was saturated with ads for the Krugerrand, South Africa's gold coin...
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You should compare String using stringA.equals(stringB) instead of use stringA.contains(stringB).I've solved both issues. Actually found that the String value that I was using to select my icon in my arrayadapter was appearantly getting a string with an extra space in it from the return data. This caused my ImgID variable that I was using to set the image to default to ic_launcher (which I set as default icon for testing). I changed the cat == "VALUE" to a cat.contains("VALUE") to avoid this issue.
Java:int imgID = R.drawable.ic_launcher_background; String cat = data.getCategory().toUpperCase(); if (cat.contains ("MAINTENANCE")) { imgID = R.drawable.icon_engine; } else if (cat.contains ("DOCUMENT")) { imgID = R.drawable.icon_docs; } else if (cat.contains ("FUEL")) { imgID = R.drawable.icon_fuel; } else if (cat.contains ("DRIVING")) { imgID = R.drawable.icon_steeringwheel; } else if (cat.contains ("BUSINESS")) { imgID = R.drawable.icon_taxi; }
As for updating the Listview Item I stripped most of my code out of the above code and simply created a new itemData using the returned data.
Java:@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == 501 && resultCode == RESULT_OK) { DecimalFormat f = new DecimalFormat("000,000"); int locid = data.getIntExtra("locationid", 1); int id = data.getIntExtra("id", -1); int pos = data.getIntExtra("position", -1); int mil = data.getIntExtra("mileage", 0); double cos = data.getDoubleExtra("cost", 0); String typ = data.getStringExtra("type"); String tit = data.getStringExtra("title"); String des = data.getStringExtra("description"); String dat = data.getStringExtra("date"); LocalDateTime lt = convert.DateTimeFromString(dat); items[ItemPosition] = new itemData(id, des, mil, cos, "", typ, 1, 1, lt); mAdapter.notifyDataSetChanged(); } }
My ItemPosition variable stores the value of the item clicked on in the listview onclicklistener so that when a result is returned I can get the actual item that was clicked to edit. mAdapter.notifyDataSetChanged() does update the entire view after the original data has been modified. My issues were self-inflicted with the string comparison and not properly updating the original data. Live and learn, right?
like this
see?
Thanks for the suggestion!!Why don't you try this (AF Plugin) to create a channel for your apps. It is like a personal subforum where all the conversations about your apps are grouped together.![]()

Hi, is there any way to get a WeChat account from outside MainLand?
ʕ ͡° ʖ̯ ͡︻╦̵̵͇̿̿̿̿╤── - - - - - -
@The_Chief , well, she does have a smile on her face!!!!

Check your spam folder. Sometimes emails from here get flagged as spam.btw: why arent i receiving email notifications from this thread?

HI. So Sigining into Google Playstore (in 2015 with Android 4.0 or 5.0) .. did sign into all google accounts??
Wow...i really dont remember that occurring...
I recall signing into google play and then still having to sign into google drive and google photos etc..