Skip to main content

All Questions

Tagged with
0 votes
1 answer
241 views

How to change the item color and do some action when the item of the listview is visible in the viewport in flutter?

I have generated a list of items by using for loop and then add those items in listview in the tabbarview. In the listView, there are items (containers) and when that particular item is seen fully in ...
Aman Chaudhary's user avatar
0 votes
1 answer
769 views

How to set progress bar visibility to invisible once data comes from a server and appears on listview?

I want to set the progress bar visibility to invisible once data comes from my server and display in a listview. Here is my code public class MainActivity extends AppCompatActivity implements ...
peter Estifanos's user avatar
2 votes
1 answer
1k views

How to add visibility binding for MenuItem of ContextActions of a ListView

I am trying display context actions menu items while selecting any listview item, there I have added three menu items. But I need to bind the visibility for those Menu Items. Depending on selection ...
user10594374's user avatar
0 votes
1 answer
85 views

Xamarin forms: Different item is invoking instead of selected item in flowlistview?

Recently I have posted a question related to flowlistview item visibility, this question is also related to that. I have 8 images in a list, initially show a question mark image. When tap on the ...
Sreejith Sree's user avatar
0 votes
1 answer
487 views

Xamarin forms: How to handle the flowlistview selected item visibility?

I have some images in a flowlistview, initially show only question mark image. When tap on the question mark image, the real image will visible instead of the question mark image. I have done like ...
Sreejith Sree's user avatar
0 votes
1 answer
155 views

setting the visibility to gone if a listitem is empty

I have a problem that I've tried to resolve for some time with the tips I've found from googling on this issue. My SimpleAdapter looks like this: @Override protected void onPostExecute(Void ...
midw's user avatar
  • 1
0 votes
1 answer
1k views

WPF binding to Visibility of an Itemtemplate of a Listview not working [duplicate]

I am using WPF Prism.Mvvm. I have a navigation bar on the side containing a Listview bound to an Itemssource. Those Items contain an image and the content. Now my goal is to collapse the content of ...
Anna Z.'s user avatar
  • 55
1 vote
1 answer
64 views

ListView: setvisibility() forces refreshing all the rows

I have a ListView with rows with different layouts. So I'm using the pattern of ViewHolder. If the user clicks on a row, one sub-layout of the same row must be shown/hidden. viewHolder.btn1....
pozzugno's user avatar
  • 816
0 votes
0 answers
163 views

Empty view not showing for Listview

in my android app I have the following layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" ...
Claudio P's user avatar
0 votes
1 answer
56 views

child in listview list item becomes null p.e. when view recycled

Button views visibility is supposed to change onClick, but when view recycled, the said view comes up null. Seems to be when state of following item visibility is different than its previous in list. ...
sleethma's user avatar
  • 371
-7 votes
1 answer
420 views

how can i make a label invisible at release build [closed]

I want to hide a listview item on release build but make it visible on debug build. I searched it on internet but I can't find anything about it. Anyone can help me?
user8141097's user avatar
0 votes
0 answers
36 views

setVisibility of checkbox inside list fails after accessing textview in main activity

In my OnItemLongClick , I need to set my visibility of checkbox from GONE to VISIBLE. bookList.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() { @Override ...
ColonD's user avatar
  • 1,014
1 vote
1 answer
2k views

Make SwipeRefreshLayout animation invisible

If its possible make Swipe refresh layout animation fully invisible? I want to make whole animation (including loading and cricle with arrow when pulling down gesture) dissapear but I want to be able ...
Expiredmind's user avatar
1 vote
4 answers
3k views

android - change visibility of listView

I have a listView with countries as Strings. lv = (ListView)findViewById(R.id.listViewCountry); ArrayList<String> arrayCountry = new ArrayList<>(); arrayCountry.addAll(...
Simon's user avatar
  • 461
1 vote
1 answer
2k views

ListView item visibility based on boolean

I am trying to filter ListView Items based on input text, and because the selection is removed, I am trying to set visibilty to invisible based on a boolean(I hope this wont remove the selection of ...
someone1's user avatar
0 votes
0 answers
807 views

Visibility of element within ListView not working correctly

I have a ListView, bound to an ObservableCollection, with a template that contains views that are made visible/invisible through user interaction. However, the visibility switching does not work as ...
Frauke's user avatar
  • 1,582
0 votes
4 answers
919 views

setVisibility true of dynamic id of a layout

I have created ListView in which each button id comprises of database_idx10+button_number For example, I have set the id as 101 i.e. 10=database_id & 1=button_number Now I've to setVisibility of ...
phpdroid's user avatar
  • 1,663
0 votes
1 answer
2k views

setVisibility(View.Gone) work but the view still own the space

I make a CustomAdapter extends BaseAdapter.In it's getView() method , I use ViewHolder. And I set a clickListener with a TextView to set a view (call it A)gone and another view (call it B)visible , ...
PPTing's user avatar
  • 150
1 vote
2 answers
2k views

Is there a way to hide a ListView in xaml?

I have following problem. My ListView has a gray background and when the ListView is empty, you can see a small gray line on the window. This looks ugly and so I want to hide the whole ListView when ...
Florin M's user avatar
  • 445
1 vote
1 answer
128 views

Android gridview adapter called on visibility change

I set a VISIBLE gridView to be INVISIBLE and its adapter is called again (using a ViewHolder class), even though there is no use for that, and there is no call for notifyDataSetChanged... I logged in ...
SilverTech's user avatar
0 votes
1 answer
88 views

Showing/hiding items - listview

I have a special question which i havent't found the answer. I can't deal with this problem. So... is there any way to hide or show items(images) dynamically on ListView? I mean, after tap on ...
Skye's user avatar
  • 1,469
0 votes
1 answer
113 views

Why the Image view inside the item of a list view disappears when i scroll?

I am having a list view inside a tabs fragments, Now inside the list view i am having two views one view is already at gone visibility.when i scroll the list view both the view disappears.I am ...
Asif Sb's user avatar
  • 805
0 votes
1 answer
174 views

FliCard and ListView A strange visibility bug in Android

I am trying to implement a FlipCard behavior in a ListView for my items and the bug is that my convertView don't update its visibility state according to the visibility I set in the getView method. It'...
Mathias Seguy Android2ee's user avatar
1 vote
0 answers
249 views

Android View setVisibilty(View.Gone) is not working on Lollipop

I have a hearder_view which is header of a main list view. My header_view, contains another list view and textview(s) in it. When user taps on header_view, I am setting the visibility of header_view'...
Adil Bhatty's user avatar
  • 17.3k
0 votes
1 answer
537 views

Not able to set the visibility of a button inside a listview programmatically

I am trying to set the visibility of a button based on a certain condition in a listview. Context : The listview has parameters for response to a post . It contains title,description etc of the ...
maya's user avatar
  • 159
1 vote
2 answers
2k views

android - Making a view "GONE" results in the view below it to be invisible as well

I'm new to android and I'm working on an app for few weeks. As the title says, the problem that I have is when I want to programmatically set a Spinner to GONE, a ListView that is below it in a ...
laurGanta's user avatar
  • 185
3 votes
3 answers
4k views

Visibility GONE in ListView

I use a ListView to display TextViews. My app looks like this: When I click on a word it disappears: But the ListView still keeps the empty row. I want my app to look like this after click: Does ...
user2456977's user avatar
  • 3,870
0 votes
2 answers
441 views

ListView inside ListView + control.Visibility

I'm creating a questionnaire app. My way of doing this is to create a ListView which contains question text and another ListView which contains list af answers(as RadioButtons). The problem came when ...
MajkeloDev's user avatar
  • 1,661
-1 votes
2 answers
769 views

Change visibility of textView on AlertDialog positive button

ok so i didn't have enough room in title to explain this but I have a ListView with a custom adapter, and in the child Views I have a textview. I'm trying to change the visibility of that textview ...
user1974977's user avatar
1 vote
2 answers
1k views

How to display fully visible Items in top of the Listview after scrolling?

how to proceed forward in the listview. i am having listitem consists of 30 items which displaying only images. In visible screen we can able to see minimum 1 1/2 images per screen(ie., one full ...
Ashok's user avatar
  • 839

15 30 50 per page