Skip to content

DropDownListView樣式問題 #15

Description

@enginebai

您好,我使用DropDownListView去實作下拉重整和載入更多,然後用下面程式碼設定樣式:

listView.setDropDownStyle(true);
listView.setOnBottomStyle(true);
listView.setAutoLoadOnBottom(true);

但是當只有很少的Item在ListView的時候就會顯示像這樣,但是正常應該是上下拉的時候才會顯示Header和Bottom View才對。
device-2015-02-11-100742

是否有解決方法呢??謝謝。

Activity

  1. Trinea commented on Feb 11, 2015

    @Trinea
    Owner

    抱歉,这个问题暂时没时间修复。你可以看看 https://github.com/Trinea/android-open-project 里面其他的下拉刷新控件

  2. opcc60 commented on Jan 18, 2016

    @opcc60

    你可以通过计算ListView的剩余空间,动态添加或改变footer的高度。应该能解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions