evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 459 forks source link

Unable to set _appbar_scrolling_view_behavior_ #162

Closed sagarpatel288 closed 6 years ago

sagarpatel288 commented 6 years ago

When using as below:

<coordinatorLayout - 
          <appbarLayout - 
                <collapsing toolbar layout
             ---
          </appbarLayout>

         <LinearLayout
                     id= fragmentContainer
                     app:layout_behavior="@string/appbar_scrolling_view_behavior"
         </LinearLayout>
</coordinatorLayout>

The TableView is inside fragment and it is not transferring the fling or scrolling to appbar layout...

evrencoskun commented 6 years ago

please check this #3

sagarpatel288 commented 6 years ago

Thanks for the quick reply. It is working as per your suggestion there. However, is there a way I can scroll header too off the screen? By the way, thanks for The amazing TableView

evrencoskun commented 6 years ago

Thanks @sagarpatel288

is there a way I can scroll header too off the screen?

I don't get what you mean

sagarpatel288 commented 6 years ago

It is behaving like how toolbar behaves with collapseMode="pin"... so, the header (columns having titles like large column and so...) gets clipped when reaching at top of the screen and all cell items are scrolling underneath the header...

evrencoskun commented 6 years ago

There is no any implementation to make it like you want. But you can try to find a way using "ColumnHeaderRecyclerView that is the view that is represented as a Column Header.