baoyongzhang / baoyongzhang/SwipeMenuListView

swapmenulistview, uses two xml one for header other for item ,but the of header is giving problem

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

i am creating header list view using swapmenulistview, uses two xml one for header other for item ,but the of header is giving problem
if (mAppList.get(position).getAppointment_time().equals("")) {
// Inflate the layout with image
view = vi.inflate(R.layout.header, parent,false);

```
}
else {
view = vi.inflate(R.layout.swipe_list, parent,false);
}
```

how to manage height

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the adapter code shown in the issue and compare the header and swipe_list layouts, focusing on how their heights are defined. Reproduce the header-height problem in the sample app, then verify that the header and item rows render at the intended heights.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.