Hi im wondering how can I set an image background in my login form using xaml I tried all I have found in google and nothing works
how to set background on login page
Best way to implement an ObservableCollection whose objects are accessible from multiple views?
I am fairly new to Xamarin. I'm currently working on a project and am trying to use best MVVM practices in building it. I've successfully implemented the MVVM pattern for my login page and I have a pretty good grasp on that, but it is a little more straight forward than what I'm trying to do now.
Once you log in you're brought to a TabbedPage. The TabbedPage contains two ContentPages, one with a ListView. My goal is to create an ObservableCollection which can be accessed by both of the ContentPages in the TabbedPage but I'm not sure where the correct place to create this ObservableCollection would be.
Should I create a ViewModel for the TabbedPage and have the ObservableList live there and have the ViewModels for the two ContentPages access that ViewModel? Should I create the ObservableList in the ViewModel of the first ContentPage with the ListView and have the second ContentPage reference that ViewModel?
I've tried looking for resources to understand this particular scenario but I haven't been able to find any that discuss multiple views referencing the same ObservableList. I'd be very grateful for either an explanation on the best way to do this, or a link to a resource that would explain or exemplify this. Thanks!
I should also note that I currently have the ObservableList living in the code behind for the ContentPage with the ListView. I know this is not where it should be but I just wanted to make sure I could get the ListView working with an ObservableList and I am now looking to move it to where it should be.
Is dependency injection setup on new project?
I created a new master detail project and I see in the constructor of the App.xml.cs there is this code...
DependencyService.Register();
Can anyone explain this?
The type or namespace name 'System' could not be found
When I try to create a new Xamarin Forms app, nothing works. No imports can be found. Almost every line in the autogenerated code has a "not found" error.
Using Visual Studio 2017 15.5.6 on Windows 10.
Can I prevent a TapGestureRecognizer from swallowing touches?
I have a custom ViewCell with an Entry in it. I'm using a TapGestureRecognizer in the cell so that I can give focus to the Entry regardless of where the user taps in the cell. In my custom ViewCells without TapGestureRecognizers, I'm able to manage the pressed effect on the cells (adjusting their background color) by using a custom renderer. Unfortunately, the tap effects aren't handled by the custom renderer if the TapGestureRecognizer processes the touch. This leaves me without any sort of pressed effect highlighting for tapping the cell. Is there some way I can prevent the Xamarin TapGestureRecognizer from swallowing touches?
White noise generation
Hi,
Done a lot of searching for a simple starter for generating white noise, without using a sound file, but found nothing that works, or rather nothing _I _can adapt to work. Anybody out there can spend a few secs pointing me in the right direction please? I'd really appreciate it...
ObservableCollection: Insert vs Add (Android)
Hi,
I have a Listview binded to an ObservableCollection 'HistoryList'.
When a button is pressed, a new item is added:
HistoryList.Add(new .....));
The new item appears at the end of the list, all works fine.
However, I want the new item to be inserted at the beginning instead of the end, so:
HistoryList.Insert(0, new .....));
And here Listview starts to behave very strange: some items (usually every 2nd) are not drawn, etc. However when I start to scroll the listView, (most of the time) all becomes normal.
Is this a bug, or do I miss something?
VS2019 16.3.4 / XF 4.2.0.848062
I tried only on Android (so far)
Tool bar menu item xamarin forms
Thanks
Prevent orientation change for a page?
Is it possible to prevent individual pages from re-orient when the user rotates the device? I already know how to do it with native iOS but I was expecting a property on ContentPage or something similar.
bootstrap in webview
Hi All,
In my App, I'm displaying a report in WebView. It is a local HTML. Currently working fine but the report does not look nice with just HTML. I want to include bootstrap to this local HTML. I can do that by including the Bootstrap CDN link but most of the users do not have the internet on their phone.
Is there a way to include the Bootstrap min file as a local asset and use it?
Does anyone like to share a sample code?
How can I show an image in an image component using a link?
I've been trying so many differents way but without any result
美国卡内基梅隆大学文凭毕业.证/成绩单#薇信6956.40122办理美国CMU毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国卡内基梅隆大学文凭毕业.证/成绩单#薇信6956.40122办理美国CMU毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国乔治城大学文凭毕业.证/成绩单#薇信6956.40122办理美国Georgetown毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国乔治城大学文凭毕业.证/成绩单#薇信6956.40122办理美国Georgetown毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国弗吉尼亚大学文凭毕业.证/成绩单#薇信6956.40122办理美国UVa毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国弗吉尼亚大学文凭毕业.证/成绩单#薇信6956.40122办理美国UVa毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国塔夫斯大学文凭毕业.证/成绩单#薇信6956.40122办理美国Tufts毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国塔夫斯大学文凭毕业.证/成绩单#薇信6956.40122办理美国Tufts毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国维克森林大学文凭毕业.证/成绩单#薇信6956.40122办理美国WFU毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国维克森林大学文凭毕业.证/成绩单#薇信6956.40122办理美国WFU毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国布兰迪斯大学文凭毕业.证/成绩单#薇信6956.40122办理美国Brandeis毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
美国布兰迪斯大学文凭毕业.证/成绩单#薇信6956.40122办理美国Brandeis毕业.证成绩单;文,凭/留信网认.证/使馆认证公.证
办理澳洲埃迪斯科文大学毕业证,Q微信695640122,ECU毕业证|《埃迪斯科文大学毕业证Marquette学历认证》|埃迪斯科文大学文凭办理学位证办理ECU留信网认证ECU大学毕业证ECU成绩单
办理澳洲埃迪斯科文大学毕业证,Q微信695640122,ECU毕业证|《埃迪斯科文大学毕业证Marquette学历认证》|埃迪斯科文大学文凭办理学位证办理ECU留信网认证ECU大学毕业证ECU成绩单
办理澳洲弗林德斯大学毕业证,Q微信695640122,Flinders毕业证|《弗林德斯大学毕业证Marquette学历认证》|弗林德斯大学文凭办理学位证办理Flinders留信网认证Flinders
办理澳洲弗林德斯大学毕业证,Q微信695640122,Flinders毕业证|《弗林德斯大学毕业证Marquette学历认证》|弗林德斯大学文凭办理学位证办理Flinders留信网认证Flinders
办理澳洲麦考瑞大学毕业证,Q微信695640122,MQU毕业证|《麦考瑞大学毕业证Marquette学历认证》|麦考瑞大学文凭办理学位证办理MQU留信网认证MQU大学毕业证MQU成绩单
办理澳洲麦考瑞大学毕业证,Q微信695640122,MQU毕业证|《麦考瑞大学毕业证Marquette学历认证》|麦考瑞大学文凭办理学位证办理MQU留信网认证MQU大学毕业证MQU成绩单