FastAdapter icon indicating copy to clipboard operation
FastAdapter copied to clipboard

how to show empty view when there is no data

Open anton-khansa opened this issue 9 years ago • 1 comments

hi mike, i have search on google about how to view ampty view but i didnt found it, i found 1 link https://github.com/mikepenz/FastAdapter/issues/102

but i dont understand what you mean u have do that with progressitem, could you help me please?i just want to show text " No Data" when there is no data found

anton-khansa avatar May 13 '17 14:05 anton-khansa

@anton-khansa this is nothing the Adapter normally handles. In general empty views are separate views which are shown instead the RecyclerView.

It is possible though to have an item which is displayed full height, and you can re-use it accross your app. Just create an item with a layout having "match_parent" as height

mikepenz avatar May 14 '17 15:05 mikepenz