by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    IoTFier
    @IoTFier
    That's odd to differentiate. Why not explicit namespace for Shapes API ?
    Or name the new Struct to RectangleShape ?
    Matthew Little
    @zone117x
    are there any open source macOS apps using Xamarin.Forms? some example/sample apps would be really useful for me
    Sören Nils Kuklau
    @chucker
    XamForms for macOS is a bit rough, tbh
    Rui Marinho
    @rmarinho
    PR's welcomed :smile:
    Sören Nils Kuklau
    @chucker
    i made one a while ago!
    i think it's merged into 4.7
    i use it for a hobby project, but i think it's too rough for a production product with a tight deadline
    @zone117x can't offer you a sample app but to get started, you want to basically use the two-project template (shared Xamarin Forms project + iOS-specific project), then manually add a third project that's for macOS. you use the iOS project for things like XAML live preview since that isn't implemented for macOS yet.
    Sören Nils Kuklau
    @chucker
    IoTFier
    @IoTFier

    @IoTFier xamarin/Xamarin.Forms#11187

    Hi @jsuarezruiz - will this be packaged in the service release of XF 4.7 ?

    Javier Suárez Ruiz
    @jsuarezruiz
    Moved to 4.8.
    IoTFier
    @IoTFier
    So, rollback to 4.6 ? In XF 4.7, XAML compilation doesn't show any error but at runtime I am hitting one at a time. How do I bypass this error to check any other non-compatibility with 4.7 ?
    Javier Suárez Ruiz
    @jsuarezruiz
    From XAML you can use AbsoluteLayout.LayoutBounds to position the item (use and string and will be converter to a Rectangle struct using a TypeConverter), and from C# can use Rectangle struct too.
    IoTFier
    @IoTFier
    I can't as it the Rectangle structure is used to set LayoutBounds in my LTR and RTL situation.
    In principle the new change due to Shapes API is breaking existing APIs that don't have any relationship with the new types. It should have been avoided to begin with. I request you all to consider a separte namespace for Shapes API. It is not hard for developers to refer to that in the XAML instead of going thru he whole pain of making existing types obsolete that are neither getting enhanced nor related to the new API.
    Javier Suárez Ruiz
    @jsuarezruiz
    Having Styles with setter setting AbsoluteLayout.LayoutBounds and changing the Style or from C# code creating different Rectangles (struct).
    IoTFier
    @IoTFier
    yes, I have styles defined in XAML - two LTR & RTL theme.xaml. I don't want to address this bug from c# code
    Javier Suárez Ruiz
    @jsuarezruiz
    You can do something like this from XAML
    IoTFier
    @IoTFier
    @jsuarezruiz .. ?? I am waiting for yoru input. I would really appreciate that.
    Joel Sina
    @joel.sina_gitlab
    I am using Prism and trying to implement an Authentication flow. I have a TabPage as my Root when the App is open. The app can be used both from logged in and not but for extra actions i need to have the user logged in. So the last tab that is the profile page, checks through IActiveAware if the user is logged in. But the RaiseIsActiveChanged is called multiple times so it is pushing the page multiple times
    protected async void RaiseIsActiveChanged() {
                IsActiveChanged?.Invoke(this, EventArgs.Empty);
                if (App.user == null) {
                    await NavigationService.NavigateAsync("LoginPage");
                }
            }
    Javier Suárez Ruiz
    @jsuarezruiz
    So, use 2 styles is an option or cannot use that?
    IoTFier
    @IoTFier
    @jsuarezruiz - I thought you had a sample XAML for me as a work around
    IoTFier
    @IoTFier

    So, use 2 styles is an option or cannot use that?

    Didn't follow your question.

    Javier Suárez Ruiz
    @jsuarezruiz
    @IoTFier I shared a piece of XAML using two styles to modify a View position using an AbsoluteLayout in XAML (XF 4.7.).
    My question is, is that approach valid for you?
    IoTFier
    @IoTFier
    @IoTFier I shared a piece of XAML using two styles to modify a View position using an AbsoluteLayout in XAML (XF 4.7.).
    Hi @jsuarezruiz , where is that sample ? I didn't notice it either in the gitter or in the github #11187
    IoTFier
    @IoTFier

    https://xamarinhq.slack.com/files/U4ZE9DU56/F016HDB2DS5/sin_t__tulo

    Hi @jsuarezruiz , will you please add me to xamarinhq.slack.com ? Thank you.

    Stefan Cvetkovic
    @stefancvetkovic
    How to implement changing languages in the app?
    Im using assemblyinfo and [assembly: NeutralResourcesLanguage("en-US")]
    IoTFier
    @IoTFier
    Hi @jsuarezruiz , @PureWeen - will one of you please add me to xamarinhq.slack.com ? Thank you.
    IoTFier
    @IoTFier
    Hello @jsuarezruiz - can you share your workaround XAML with me on XamarinChat.slack.com ? I don't have access to your internal Xamarinhq.Slack.com
    Javier Suárez Ruiz
    @jsuarezruiz
    @IoTFier I tried to share just using a Gist https://gist.github.com/jsuarezruiz/9dee001a91209f26006e5f5da795b57e
    IoTFier
    @IoTFier
    @jsuarezruiz Thank you. But, it won't work. I need AbsoluteLayout.LayoutFlags="XProportional, YProportional"
    That's why my style defined are as <Rectangle x:Key="myCustomLayoutBounds" HeightRequest="22" WidthRequest="{x:Static AbsoluteLayout.AutoSize}" X="0" Y="0.5" />
    Sören Nils Kuklau
    @chucker
    before i investigate deeper, can someone confirm that CollectionView with a bound ItemsSource is always empty in macOS? (the same items source seems to work fine with ListView)
    Matthias Bruzek
    @bruzkovsky
    Hi everyone! X.F NavigationProxy has the option to insert a page before the current page using InsertPageBefore(Page, Page). Is there a way to do the same for modals?
    Alamzaib
    @alamzaib-farooq
    Hi guys! We adopted Xamarin for our company but we are badly stuck. It's been one week we are try different things to resolve the issue. Basically the issue is our view calls multiple Restful req to API to generate the form. Every time we go to the view it takes 4 to 5 seconds.
    We tried everything such as threading, asych methods but all in vain.
    I don't understand why there is not a method which get called when the view is completely displayed so that we can call apis.
    Please, someone, suggest something?
    Denis
    @redradist
    @alamzaib-farooq This link probably help you https://forums.xamarin.com/discussion/38989/contentview-lifecycle
    Shane Neuville
    @PureWeen
    @alamzaib-farooq is your problem that it's too slow or that you just want to know once it's on the screen? What apis are you calling?
    Kyle Grierson
    @grierson
    Hello, Are there any Snapshot testing libraries for Xamarin?
    IoTFier
    @IoTFier
    Hi @jsuarezruiz - when will XF 4.8 pre1 will be released ? I am waiting for the #11187 . (This is the first time I will be skipping a XF version due to breaking changes.)
    Javier Suárez Ruiz
    @jsuarezruiz
    @IoTFier We are reviewing to retarget#11187 to 4.7.
    Akash Kava
    @ackava
    Hello, Introducing Xamarin Forms Fiddle, Try Xamarin Forms with JavaScript on browser, https://dev.to/web-atoms/introducing-xamarin-forms-fiddle-2h1i