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

Xamarin Forms App on iOS device crash “Application Settings exception” “Unable to store key” “got error: -34018”
Could not retrieve SSH fingerprint. Make sure that Mac is reachable and remote login is enabled
What is the impact of not having synchronized Nuget packages between Xamarin Forms PCL + iOS + Android
Xamarin, Android: How to use “ElapsedRealTimeNanos”?
Has anyone successfully implemented Azure Active Directory B2C for auth using Microsoft.Identity.Client 1.1.0-preview?
success and failure callbacks in realm xamarin
Hide keyboard from Xamarin Android DialogFragment
Xamarin Studio user reference paths
Xamarin Studio comments addin
Connection issue with MultipeerConnectivity Xamarin
Xamarin.iOS not compatible on Mac myMac.local
Why LocalStorage path doesn't change when app is on SD card in Xamarin?
Xamarin Froms Padding in StaticResource
Download zip xml file XAMARIN
How to set Back Button Title?
Xamarin iOS Rich Push Notification Issue

Categories

HOME
ms-access
java
ibm-bluemix
yii2
cloud
deployment
listview
cookies
reflection
c#-4.0
kde
iot
tesseract
objectgears
framework7
jsrender
sql-server-2016
retrofit
cross-browser
qore
iggrid
fancybox-3
user-input
export-to-csv
phaser
size
fortumo
openrefine
database-replication
code-review
beyondcompare
emulator
swingx
xlsxwriter
captiveportal
trading
spark-jobserver
url-scheme
greendao
social-media
buck
replaceall
twilio-api
scorm2004
repo
textmate
mozilla
streamreader
cookiecutter-django
businessworks
segment
user-accounts
chain-builder
termination
strptime
statsd
mplayer
magma
np-complete
knpmenubundle
sonarlint-vs
topbeat
wdf
multi-level
pagedlist
hill-climbing
make-install
rvest
freelancer.com-api
intel-fortran
ora-00900
t4mvc
ruby-2.2
citrus-pay
service-accounts
dundas
bridge.net
tablelayout
cctv
preferences
rdl
doskey
seaside
flexmojos
mysqltuner
jplaton
eventual-consistency
bitsharp
dbproviderfactories
online-compilation
stage
self-extracting
calling-convention
mysql-error-1005
subviews
paster
revisions
audio-capture
virtual-functions
ajax-forms

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