All Questions
51
questions
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 ...
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 ...
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....
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" ...
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. ...
-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?
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
...
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 ...
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(...
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 ...
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 , ...
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 ...
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 ...
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'...
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'...