xamarin


Replace Xamarin forms page without pushasync


I've searched through numerous online posts and can't find a suitable answer for this scenario. It's a pretty common requirement. I have a Xamarin.Forms app with a login page and listing page. When the app is started, the login page is displayed. When they login successfully, I want to display the listing page and prevent them from backing up by clicking on the toolbar back button or the hardware back button.
Change the MainPage
when you start the app you should have
Application.Current.MainPage = new LoginPage();
after login, something like
Application.Current.MainPage = new MyFirstPageAfterLogin();

Related Links

Getting exception: “Already in a write transaction” in Realm for Xamarin iOS
Deploying Xamarin Forms Android app to VS Android emulator using Command line
Deployment failed because of an internal error: Failure [INSTALL_FAILED_DEXOPT]
Xamarin NavigationDrawer slow
System.Net.Http.HttpRequestException exception will running th xamarin UI Test on Physical Device
Visual Studio 2015 Android upgrade SDK to 24 now doesn't allow any development
Xamarin entry input box not working with while doing scanning with bluetooth barcode scanner
Getting file inside PCL project always returning null
App icon in UWP
Proper Registration of INavigationalService using MVVMLight
Xamarin Insights Portal: I only see Issues and Settings tabs
Query Firebase Value OnChange
Xamarin PCL Custom List View not updating View
Advantages of using APIs wrapped with .NET in Xamarin
Xamarin.Forms: How add Privacy Key in Visual Studio 2015 for IOS10
Tab bar shows outside of screen

Categories

HOME
testing
xamarin
vim
image
omnet++
magnific-popup
relayjs
read-eval-print-loop
podio
qore
add
gitpitch
communication
vault
row
nstableview
zend-framework3
commonmark
lombok
libtiff
telephony
transformation
reactcsstransitiongroup
samoa
swingx
nas
autocad-plugin
physics-engine
captiveportal
emgucv
h2db
shopware
kannel
info.plist
jaxb2
webkitspeechrecognition
subdomains
newline
unboundid
nat
r-raster
google-cloud-endpoints-v2
preg-match-all
google-qpx-express-api
catch-all
perlin-noise
textmate
ghost4j
service-discovery
c11
sfdc
spring-security-kerberos
reactive-cocoa-5
angular2-meteor
qwt
pubmed
paxos
imanage
instant
infix-notation
etsy
rvest
jfugue
jms2
intel-fortran
spidermonkey
jqgrid-formatter
dukescript
apache-commons-fileupload
sortedlist
offloading
code-access-security
valueconverter
app42
monomac
c18
.aspxauth
eventual-consistency
jquery-mobile-dialog
drools-planner
dmoz
work-stealing
invite
html-input
site.master
castle-monorail
microsoft-virtualization
exchange-server-2003
ugc
multiple-languages

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App