SkeletonView icon indicating copy to clipboard operation
SkeletonView copied to clipboard

Height for Section : Skeleton Table

Open devshamzi opened this issue 4 years ago • 6 comments

Table Section Height

I have a tableView with. a different section with custom height. So, how I can set the same height for the skeleton tableView?

Attachments:

IMG_2300

devshamzi avatar Aug 01 '21 09:08 devshamzi

Hi @devshamzi, it's not possible to define more than one header height. This could be a good enhancement. I'll add it to the backlog. Feel free to create a PR with a solution :)

Juanpe avatar Aug 02 '21 10:08 Juanpe

Hi @devshamzi, in your case, the row height is defined or you are using automaticDimension?

Juanpe avatar Aug 31 '21 16:08 Juanpe

Hi @Juanpe , I have set the row height as a static value.

func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { if IndexPath.row == 0{ return 174 }else { return 256 } }

devshamzi avatar Aug 31 '21 18:08 devshamzi

Hi @Juanpe! I'd love to work on this one if it's available

maadlog avatar Oct 04 '21 14:10 maadlog

Hi @maadlog! yeah, all yours :)

Juanpe avatar Oct 05 '21 08:10 Juanpe

Hi @Juanpe, PR submitted 😄. Please let me know if there is something i missed on the process. Thanks in advance!

maadlog avatar Oct 13 '21 12:10 maadlog