Code Monkey home page Code Monkey logo

Comments (7)

demogorgorn avatar demogorgorn commented on July 17, 2024

GRID mode mode not working also in the sample app.

from bottomsheet.

ZacSweers avatar ZacSweers commented on July 17, 2024

GRID mode works fine for me, what's not working for you?

Also, that menu xml works fine for me.

victara_tmolpe23 32-21 3hsweers07132015134805

from bottomsheet.

demogorgorn avatar demogorgorn commented on July 17, 2024

Android Studio
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}

Your Sample and my app are not showing icons in grid. My app is using fragments. So when I switch to other fragment and than turn back to previous where is opened! grid - all icons are visible.

Temporarily switched to https://github.com/soarcn/BottomSheet

from bottomsheet.

ZacSweers avatar ZacSweers commented on July 17, 2024

It shouldn't matter what fragment you're using, bottomsheet is attached to the activity context. That library's implementation is via dialog, which doesn't help debug this either.

What kind of device are you running it on? Android version? Can you breakpoint the sheet and see if the
SheetMenuItem#getMenuItem() at any of those positions returns something for getIcon()? It's a really simple setup with a standard viewholder pattern, so I don't see why this behaves differently than any other gridview.

from bottomsheet.

demogorgorn avatar demogorgorn commented on July 17, 2024

I've already noticed that MenuSheetView is quite simple and understandable. That's why I don't understand where is the problem. My device is Sony Ericsson Xperia Neo V with android 4.0.4.

I'll try later to follow your suggestions on breakpoint. Strange is that if I switch to other fragment and than turn back to previous where is opened! grid - all icons are visible.

Thanks for help

from bottomsheet.

SamThompson avatar SamThompson commented on July 17, 2024

@demogorgorn we found the source of this issue and fixed it in #41

from bottomsheet.

demogorgorn avatar demogorgorn commented on July 17, 2024

Aha! Thank you very much!

from bottomsheet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.