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

Null-reference-exception-in-xamarin-forms-for-iOS and it works fine in Android
Bing Speech API with Xamarin Android
Xamarin MediaPicker returning rotated image
Visual Studio Team Services and Xamarin.Android/iOS build configuration
Reading an android file with Xamarin
Objective Sharpie not finding imported headers
TLS Exception. Unknown Secure Transport error 'Closed Graceful'
Change text of textview in custom toolbar in Xamarin Forms
Xamarin: Distribution on Play Store/App Store/Windows Store with Visual Studio 2015 Community
Xamarin Visual studio 2015 - Addin to serialize data in file?
Draw a Polygon with Xamarin.forms [duplicate]
ZXing.Mobile.MobileBarcodeScanner.Cancel() not working
Cannot add/update packages in Xamarin Studio, updated to alpha Xamarin 6.1
Why does TableView become unresponsive?
Xamarin Forms - Run a hidden WebView without attaching it to the view
Xamarin.Forms Unhandled Exception

Categories

HOME
wso2
vbscript
atom-editor
webpack
amazon-ec2
bookshelf.js
analysis
cmd
windows-server
basic
applepay
gitpitch
awesome-wm
python-unittest
etl
static-libraries
event-handling
windows-server-2012
decimal
pugjs
samoa
crystal-reports-2008
kryo
intentfilter
facebook-instant-articles
mmap
dxf
p-value
apache-commons-io
kannel
user-interaction
strncpy
objectanimator
procdump
flink-streaming
socialengine
bcd
junit5
yadcf
karaf
noraui
subset-sum
sequential
catalog
wixsharp
libvpx
unobtrusive-validation
user-controls
ncalc
google-closure
import-from-excel
menuitem
react-scripts
dds
prolog-setof
theming
snmptrapd
r-forge
memory-alignment
yt-project
angular-cache
trash
plottable.js
player
sdf
whois
suffix-tree
php-internals
system.management
tcpserver
endeca-workbench
t4mvc
varargs
php-ci
system32
notify
directoryservices
system.reflection
website-monitoring
titanium-modules
onactivityresult
castle
project-planning
p4java
balanced-payments
opcache
file-locking
html-editor
enterprisedb
ocunit
specification-pattern
chuck
labwindows
netbeans-6.9
postgresql-performance
spring-portlet-mvc
adk
fireworks
gnustep
propagation
modelstate
bespin
webkit.net
virtual-functions
noscript

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