woxblom / DragListView

Drag and drop to reorder items in a list, grid or board for Android. Based on RecyclerView. Also supports swiping items in a list.
Apache License 2.0
693 stars 177 forks source link

Is it possible to add footer to a column ? #171

Closed abeerlav closed 4 years ago

abeerlav commented 4 years ago

I want to add footers to the columns. Just like setting headers. Does the lib support that?

 val columnProperties = ColumnProperties.Builder.newBuilder(listAdapter)
            .setHeader(header)
            .setColumnDragView(header)
            .setHasFixedItemSize(false)
            .setColumnBackgroundColor(ContextCompat.getColor(this, R.color.dark_7))
            .setLayoutManager(LinearLayoutManager(this))
            .build()
    return columnProperties
woxblom commented 4 years ago

No not at the moment, but I can fix that.

abeerlav commented 4 years ago

Very nice, Thank you

On Wed, Jul 15, 2020, 5:32 PM Magnus Woxblom notifications@github.com wrote:

No not at the moment, but I can fix that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/woxblom/DragListView/issues/171#issuecomment-658804551, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZAA44MAGXKIVHPNZUUTRTR3W4ZVANCNFSM4O2QVI6A .

woxblom commented 4 years ago

setFooter is now added to release 1.7.2, it is used exactly as setHeader. The release will be out in a couple of hours.