Can we pass edittext values to gridview? If so, can you explain with example?
I checked and not able find anywhere in this site. I am new to android and java. so pls help me
Can we pass edittext values to gridview? If so, can you explain with example?
I checked and not able find anywhere in this site. I am new to android and java. so pls help me
You can do a GrisView Adapter custom adapter for gridview in android , in it you can have a parameter lets say editTextValue . In its constructor you will initialize this .In the activity with edit text you will have
String value = editText.getText();
MyCustomGridViewAdapter gridView = new MyCustomGridViewAdapter (param1 , param2....., value);