I have a Listview of custom adapter which has five fields in it.
Name, Cnic, No, Desgination and attendance. Now what i want to do is that i have to check whether all the list items have some value written after attendance column. If there is any…
I am trying to implement the custom list view in tabbed activity for youtube video playing app. I could not able to call custom listview adapter in fragment java class. I have tried to pass getActivity() to custom adapter but the app crashes. If any…
I am trying to develop an activity where there is a custom listView made out of CustomAdapter.
The list consists of a TextView and an EditText. The EditText when clicked, it auto fetches the system time.
What I want is when a particular EditText is…
I'm trying to get files from a folder and populate recyclerview based on the name of files using a custom adapter.
This is how I'm doing it:
In onBindViewHolder:
Product m = dataList.get(position);
//title
…
I am creating Application in which I have give functionality like Facebook timeline where people can update their story and any user can like or comment on the story. Everything is working fine but what I am facing issue is that when any user update…
Hello Everyone how i can delete on click item from custom listview. i am unable to delete the firebase data.
Here is the Student Activity where all student will appear in custom listview i want to delete on click
@Override
protected void…
I've a strange problem. I've a gridView with 9 items (0-8) (can be more/less). As the below picture shows, it shows first 4 items on my device's screen.
A green tick mark is added whenever an item is clicked. It works fine almost every-time. But…
I have a recycler view(A) containing another recyclerview(B). When I click on the plus icon in recyclerview(A) item, it opens up a new activity with a recyclerview(C). Long pressing and selecting few items and clicking on done. This needs to update…
im trying to add touchlistener for every item in listview.
here my code in my CustomAdapter for currentView (as i think)
rowView.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View view,…
My goal is to delete an item of a listView by sliding it with my finger on the side. I've tried to put onTouchListener on layout which is on the ViewHolder class. I have several problems :
When i slide down or top with my finger, the list scroll,…
Hello I am trying to build a custom adapter that extends either base adapter or array adapter. But with both I receive the same errors. here is a part of my log.
Error (29111) / AndroidRuntime: Caused by:
android.runtime.JavaProxyThrowable:…
I am working on an Android application and I am trying to make the item click on a listView with custom adapter to work but am not being able to. I have my OnItemClickListener implemented inside the customer adapter.
Would you know what I can be…
I have done the following code inside of my getView() method of CustomAdapter class. If I try to simply show a Toast, Toast appears, but if i do the following code to make a call, application crashes. What i am doing wrong here?
…
I have a custom array adapter with 2 textView, 1 spinner and 1 checkbox. When I run my app and select the item in the spinner and scroll the custom adapter the strings in spinner is not stable. It's changing its position in the customAdapter. The…
I have a list view with a search EditText above it. Each row in the list view consists of several texts and pictures. When the user enters a keyword in the search EditText, I want the listview to be updated with the rows that contain the keyword. I…