wait am showing what am doing am able to icnrease and decrease value But Problem is when i increase first item from 1 to 5 then next item value increase from 6 while each item increase and decrease from 1
retrieve the value from hashmap and assign to textview: holder.itemnumber = (TextView) rowView.findViewById(R.id.textView4); holder.itemnumber.setText = value;
Also, assign proper tag to the plus and minus buttons, so u can know on tap that which item in the list has been referred to
abhe bhe wai Problem ho rha hai @iAnum jabe mai dusre item ka value +karta hu to previous value ke accrding icnrease ho rha hai while it should increase from 1 na
Android question: Is there any reason why calling finish() in an activity started for a result on a buttonclick would only trigger onActivityResult() after clicking the button multiple times? (onActivityResult() is then triggered multiple times)
In my app i have a EditText with a search Icon on the right side. I used the code given below.
<EditText
android:id="@+id/search"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="4dip"
android:layout_weight="1"
...
There is an array of 1000 items holding random numbers from 1 - 1000. numbers are shuffled, not in order there is no duplication now if I replace a number at some place with 0, how am I going to find the original number replaced?
I'm having trouble with something that works in the Notepad example.
Here's the code from the NotepadCodeLab/Notepadv1Solution:
String[] from = new String[] { NotesDbAdapter.KEY_TITLE };
int[] to = new int[] { R.id.text1 };
SimpleCursorAdapter notes = new SimpleCursorAdapter(this,
R.layout.note...
I have an array of 1000 items. Random arranged numbers (array is not sorted). There is no duplicate number as well. If I replace a number at random position with zero, how am I going to find the original number replaced?
iska algo btana hy
mere pass no link. interview Q poocha tha kisi zamany mey
@Erum Erum I currently dont remember/think k us algo me sorting kese hrhi th n if it can be applied or not.
Prodcut ka list print kar rha hu mai listview abhe static data he add apne ko na kitna item User ko lena hai actully that i want to do @iAnum isliye mai usko try kar rha hu