Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    willysharp5
    @willysharp5
    Florent Love your tool. How can i use it with a navigation drawer and also filling the cards with data from a remote sever using recyclview with pull to refresh as well as endless scroll. Am a noob so if you show some sample code or point me to article. Thanks
    TresorDeKelloggS
    @TresorDeKelloggS
    This message was deleted
    Is it normal that I can not compile : Failed to resolve: com.github.florent37:materialviewpager:1.0.5.2
    Yogesh Ojha
    @yogeshojha
    @willysharp5 found the tutorial? Even I am noob, help me plz :smile:
    lokeshsuhas
    @lokeshsuhas
    How to handle the back button from the view pager fragment
    thatisazam
    @thatisazam
    @lokeshsuhas just override the activity's onBackPressed and notify the fragment via an interface and perform fragment specific task. this is not library-related question fyi
    thatisazam
    @thatisazam
    @willysharp5 @yogeshojha the library is compatible with any material drawer library...recycler view remote loading can be done similarly like list view and grid view by renotifying the adapter with notifydatachanged() after repopulating the adapter's data after the server call. As for endless scroll you can read by googling recyclerview endless scrolling. your side questions did not meet the purpose of this channel fyi
    Haemin-Jung
    @JungHaeMin
    This message was deleted
    Ankita Singh
    @Ankita1405
    hey can any1 plz help me out
    everythng is working fine bt on clcik of sidedrawer icon my sidedrawer doesnt open
    plzzz hellppppp me its urgent
    hongzhou85
    @hongzhou85
    @quentin41500 Hi I added buttons in the header too. However, there is one issue, the button is clickable (at the same location) even after the header is gone after scrolling. Do you encounter the same issue?
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    hello guys! So here is a list of found bugs in the demo application:
    1. On orientation change, the logo dissapear
    2. On RecyclerViewFragment scroll if you scroll down and swipe a little to the right, the tabs titles appear only as text, no background
    3. All placed buttons in the header as clickable even if you scroll down (invisible, but if you click on same location ... the buttons are active)
    4. The navigation drawer is not working on home button click. It works only if you drag it from left to right.
    Florent CHAMPIGNY
    @florent37
    Oh thanks fort that list, I didn't saw them. I'll try to fix them quickly ;)
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    Thank you! I wish I was able to help you, but I'm a beginner :| but time passes quick and knowledge comes fast :)
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    any idea how to display multiple cardviews on screen? For example if I'm in landscape, I have enough space for 2. For tablets ... even more
    Quentin Colle
    @quentin41500
    @hongzhou85 no I don't !
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    @florent37 thanks for demo app update. One more thing, for sliding menu the title is still clickable :)
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    also @florent37 please tell me what is the best way to implement multiple cardviews on landscape for bigger screens or any orientation on tablets. Should I use a gridview? I don't want you to make the example for me, I want to make it myself :) I need just an advice. thanks again
    Florent CHAMPIGNY
    @florent37

    hi for the sliding menu, just have to set the drawer layout an onClickListener, and it's done :)

    You can use recyclerView with a GridLayoutManager to display multiple cardsview on landcape :)

    if you want to use with MaterialViewPager, use new RecyclerViewMaterialAdapter(adapter, NUMBER_OF_CELL_PER_LINE)
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    ok, thanks a lot
    mamidianilkumar
    @mamidianilkumar
    @florent37 : , It is fantastic library, which we are using. Here, I am facing one major issue is that, a gap observed while swiping the tabs ie screen is not refreshing properly. How can i make screen refresh between the swipes. It would be highly obliged, if anyone help in this regard.
    hamid jafari
    @hamidjafari
    hi guys
    i have a problem with eclipse
    i've downloaded "materialviewpager-1.1.1-sources.jar" from repo and add it to libs folder in eclipse
    but adt say unbound prefix on "<com.github.florent37.materialviewpager.MaterialViewPager"
    in my activity-main xml file
    how can i fix that?
    mamidianilkumar
    @mamidianilkumar
    Hi All,
    I have a problem of refreshing the material view header on page swipe. is any one help in this regard?.
    Khamchunovog
    @xesun
    Hi
    MaterialViewPager onresume scroll top please help me
    Sorry my english bad
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    @florent37 give me an advice how to implement pull to refresh please :)
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    nwm I made it, Thanks!
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    It seams is not working :)) @florent37 can you help me with this one? When I try to implement android.support.v4.widget.SwipeRefreshLayout on top of android.support.v4.widget.DrawerLayout if I scroll down and after I want to scroll up ... is not working and the refresh appears. How can I make this work only if you are on top of the list and try to pull to refresh?
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    Is like the header is on top of refresh animation if I previous scroll down. If I don't scroll cards at all I can see the animation
    Mert Şimşek
    @iammert
    when i scroll up little bit faster, tab texts and header text disappear. Anyone had that problem?
    Rohit Tigga
    @rrtigga
    How do I add this library to my project?
    JKMirko
    @JKMirko
    @rrtigga Assuming that you are using Android Studio, you should add a dependency in your build.gradle file as is described here
    Rohit Tigga
    @rrtigga
    Do i have to import the module or anything? @JKMirko
    mrkentlng
    @mrkentlng
    Hi @florent37
    can u help me? Im newbie try to compile and import your project to android studio but im always got problem like: Error:(3, 0) Cause: org/gradle/api/publication/maven/internal/DefaultMavenFactory
    So pls help me fix this! Thanks you so much!
    JKMirko
    @JKMirko
    @rrtigga Adding the dependency in the build.gradle file should be enough.
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    Yes, Don't try to compile the project as it is on github. If you do, you need to remove some things from gradle confs
    VyomC
    @VyomC
    I successfully imported this library in my app but when I try to use it. All I get Is a big logo Material is good and othing else.
    No Tabs or nothing.
    Ghost
    @ghost~5551f9d215522ed4b3e04581
    check sample project .... importing the library is not enough :)