as showDialog function is in Activity class and also TimePickerDialog is in Activity class and I am calling showDialog function in Adapter class on click of textview
So there is no direct way to associate with the textview in adapter class with the MainActivity class
@Kumar okay then call you can simply call list item selected inside activity and that is override method which give you View v, parmas so using that way you can call text view
@chintankhetiya @Kumar Hey, Morning! Just logged in and checking in so as not to miss the consecutive days on SO. Gotta format my computer now as it is badly effected by a trojan. cya. @JaiSoni Hello, How are you? and cya later.
@chintankhetiya it can be more simpler... we just need position of item in list and update Array/Arrylist and call notifydatachange function of adapter call @Kumar
no need to access particular textview adapter will do it for you @Kumar
@JaiSoni BTW , we can get the position in onItemSelectedListner(...parms)
but how that will call by row position , like if i have one text and one button and i wan't to call new activity when i a, tap on button and next i want to show Toast massage while i want to click on Text then ,
@JaiSoni yeah , it's bit hard but as you are good experience developer and grate portfolio so it could be easy
@JaiSoni i have same issue while in my one of my app , i have create separate Adapter class , and calling data but my list item click event was not working, don't know why , so i have must use that class inside the activity , even i am not able to notify the list data inside Adapter class
@chintankhetiya The thing is little different here. The timepickerdialog is having a overriden function onTimeset. Inside that only I can update my textview data. So here I got the problem. I hope you understand . :D