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

How to Disable AOT in Xamarin IOS when deploy to iPhone
Want to get data to be shown in a listview conditionally
Xamarin forms get default label color
How do I set a launch image for Xamarin Studio?
MVVMCross - Broadcasting a message works List<string> but not for List<T>
Xamarin.Forms MasterDetailPage - remove/hide status bar on Master
MvxGridView bind ItemClick and List is null in ViewModel Init
Not receiving Push Notifcations in DEBUG mode
Are there any pros to using PCL profile 111 over 259 for Xamarin and MvvmCross?
xamaring and printing reports
Xamarin.Forms MasterDetail Vs Navigation Issues
Xamarin issue, property isn't changed if you change it to the same property it was before
How do I solve Xamarin.Forms.Xaml.XamlParseException
Share Common AppResource Strings With Android Accessibility Service
How to detect move start Carousel View Xamarin.Forms?
How to access a variable in my homepage in my ViewModel Class?

Categories

HOME
arduino-uno
deployment
blogger
amazon-ec2
image-processing
mediawiki
heroku
drivers
smarty
bpmn
win32gui
flyway4
node-notifier
adfs
gnupg
telephony
oxyplot
karma-jasmine
introduction
nas
facebook-instant-articles
extjs5
devops
qhull
facebook-apps
kendo-datasource
preg-match-all
twilio-api
windows-dev-center
asset-pipeline
file-format
xcode-extension
automake
x11-forwarding
theano.scan
android-fingerprint-api
sas-visual-analytics
galen
heightmap
outlook-api
modelmapper
websphere-mq-fte
angular2-meteor
auto-update
pango
prolog-setof
jlink
sqlclient
lift-json
r-forge
pearson
orthogonal
mediaelement
parallel-data-warehouse
database-optimization
storekit
qcustomplot
cartesian-product
quicklisp
kcachegrind
operator-precedence
gwidgets
dd
qpainter
gui-test-framework
java.util.concurrent
device-manager
html-helper
typeof
elliptic-curve
phpthumb
hippomocks
xsockets.net
ms-project-server-2010
bulkloader
smtp-auth
http-unit
typoscript2
simba
mhtml
trusted
ocx
ohm
transactionscope
nsobject
stage
external-accessory
xdomainrequest
sql-server-profiler
iphone-web-app
preference
sef
javap
virtual-functions
yagni
signal-handling

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