Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Matthew Leibowitz
    @mattleibow_twitter
    loading several bitmaps in memory is best left to the OS
    especially if there is a desire to have like 100 stickers
    that might be several hundred MBs
    BitooBit
    @BitooBit
    Thanks for the tips and ideas. Now it's time for sleep. This project is very interesting for us, and I hope that we will find a better way soon
    If you have any other ideas, please write . I will definitely read them.
    Brayan Khosravian
    @BrayanKhosravian
    should a collectionview work using a contentpage as datatemplate?
    juepiezhongren
    @juepiezhongren
    |
    mhrastegary77
    @mhrastegary77
    is there anything like "Flyout" of UWP in xamarin forms ???
    Jonathan Dick
    @Redth
    MasterDetailPage?
    Clifford Agius
    @CliffAgius
    Is it possible to position a Shell.FlyoutItem at the bottom of the Flyout Menu. For example I want my Settings items to be at the bottom of the flyout rather than the next in the list of flyout items.
    Shane Neuville
    @PureWeen
    Use a MenuItem and place it at the bottom of the shell
    Clifford Agius
    @CliffAgius
    @PureWeen I thought I tried that but it didn't seem to work for me. Will take another look maybe I missed something. Thanks.
    Clifford Agius
    @CliffAgius
    @PureWeen I've had another look and still not sure MenuItem will work. I have 7 items in my Shell.Flyout and these are listed at the top one after each other as expected. I then want a gap down to the Settings item that will be locked to the bottom of the Flyout menu. I am sure it can be done as I as sure I've seen it.
    Shane Neuville
    @PureWeen

    Aw OK.

    Yea there's ongoing work for a footer that I'll hopefully get to include with 4.6

    Lenard
    @Boowman
    Hello, I wanted to use CarouselView in order to display some images and I am having some issues with it. Been trying to sort it out for a few hours now but can't find anything regarding the issue.
    So when I am using the CarouselView in XAML it tells me I have to SetFlag it as it's still a preview which I am doing it but the problem is that when I do that I get another error saying https://cdn.discordapp.com/attachments/268177342168301568/668210952289910821/unknown.png
    I have also added Xamarin.Forms.Forms.Init(this, bundle); after SetFlag and I still get the same error
    Anyone any suggestions?
    Shane Neuville
    @PureWeen
    Not sure how that base class operates but I'm guessing you'll want to move it above the base. On create call
    Lenard
    @Boowman
    I have tried that as well but no luck
    I looked at a lot of posts of people initializing the CarouselView and everyone did what I am doing, yet mine still has an issue.
    Shane Neuville
    @PureWeen

    Your code isn't calling forms init at all not sure if mvvm cross does it for you some where.

    You could also put a call to set flags in your cross platform app.xaml.cs constructor.

    I think it's like device.setflags maybe platform

    Lenard
    @Boowman
    I am calling Xamarin.Forms.Forms.Init(this, bundle); it just isn't in that screenshot
    The Forms init sits between the SetFlag and Essential Init
    I will also try it in app.xaml.cs
    Shane Neuville
    @PureWeen

    It is a weird place for the exception to throw.

    What version are you on? Maybe try rebuilding and deleting bin/obj

    If still having issues log an issue with a repro

    Lenard
    @Boowman
    It is weird, I have copied the project again and added the flags, inits and CarouselView component and it worked.
    I then deleted the copied folder and created it again and stopped working so I guess its not a problem with the code as much as with the system or build I guess.
    I will try to delete bin/obj
    Dima
    @dimonovdd
    hi. do you have any examples of the most effective practices of getting a click event on notification in xamarin.forms?
    juepiezhongren
    @juepiezhongren
    @jsuarezruiz ,ola, javi, for shapes, is it native-renderer or skia-renderer?
    Javier Suárez Ruiz
    @jsuarezruiz
    @juepiezhongren You can see the implementation (work in progress) here xamarin/Xamarin.Forms#9218
    Is using native-renderers.
    Jonathan Dick
    @Redth
    So no skia needed?
    As much as I love skia I think that would be the right choice here for now
    Matthew Leibowitz
    @mattleibow_twitter
    SkiaSharp is the greatest! But, with great power comes great responsibility. If you can't handle it, then "go native" :wink: No, but @Redth is right, in many cases, the native is enough - the whole reason NGraphics exists. SkiaSharp is more for additional features and pixel perfection
    Jonathan Dick
    @Redth
    The thing is it has weight (size)
    And it feels wrong to impress that size upon an app to draw an oval
    If it was a render the whole forms ui situation then absolutely yes
    Matthew Leibowitz
    @mattleibow_twitter
    :100:
    Javier Suárez Ruiz
    @jsuarezruiz
    SkiaSharp is amazing and would allow to cover cases like Shapes in a very solid way, but yes, in this case we would add the SkiaSharp dependencies (size) to just paint a circle...
    Bret Johnson
    @bretajohnson_twitter
    One option we're discussing is making the renderer pluggable, where the user can pick.
    That way basic shapes can be supported on Android and iOS via native, avoiding a heavy weight SkiaSharp dependency.
    But more advanced features & non-mobile platforms may require Skia. Skia also gives pixel perfect consistency & (might) perform better.
    We're getting some more customer input here too, which could help in settling on an approach.
    Clifford Agius
    @CliffAgius
    The Forms Carousel View does anyone know if the TapGestures work? I'm struggling to get it working and wondering if it's been implemented as it's still experimental.
    juepiezhongren
    @juepiezhongren
    @jsuarezruiz ,xamarin/Xamarin.Forms#9178, there seems nothing related with shadow apis
    I am still looking for a solution and perhaps you guys notice something i did not see.
    mhrastegary77
    @mhrastegary77
    did i get pre 2 too soon? 🤦‍♂️ because there is nothing in microsoft docs for it
    Javier Suárez Ruiz
    @jsuarezruiz
    @juepiezhongren There is another Spec for Shadows xamarin/Xamarin.Forms#7744
    @CliffAgius You can use a TapGestureRecognizer in the Carousel ItemTemplate.
    And now thanks to RelativeSource with more possibilities.