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

Testflight Build Crashes - Could not load the aot data for mscorlib
Xamarin Form: What is the width/height meaning returned from onSizeAllocated?
xamarin unable to connect to mac - login failure
How can I specify Xamarin version in Appveyor build process?
There is no export android package file in Xamarin 4.2
Xamarin.Forms Timer doesn't skip UI logic even when it's not showing?
how to edit the info.plist in visual studio?
Installing MediatR into portable class library
Xamarin Android: Creating an add user activity, how to display all the error message at once and disabling as and when user fills the form?
Magnification of items during scrolling in Xamarin.Forms
xamarin android player resolution
Issues with Polyline and Marker using Xamarin Mapbox
Cardview in Xamarin.Forms?
NGraphics in Xamarin: What is the GetEdgeSegment and Sampling Box
Xamarin Android Error inflating a custom widget from a java bound library
How to load a view / a control once for multiple pages?

Categories

HOME
vbscript
listview
activiti
minimum-spanning-tree
pycharm
hashmap
grep
framework7
jxls
survey
ip
google-project-tango
datastax-java-driver
azure-media-services
maude-system
kibana-4
adobe-analytics
izpack
handsontable
google-apps-marketplace
caml
tostring
google-static-maps
connection-string
predix
scriptcs
functional-testing
icloud-api
rundeck
centos6.5
chromebook
virtualdub
fgetcsv
quote
gsmcomm
socialengine
uisplitview
calibre
repo
uiswipegesturerecognizer
force-layout
android-fingerprint-api
dism
turbogears
import-from-excel
scorm
wso2carbon
flickr-api
rainbowtable
boost-multi-index
datastax-startup
mu
statsd
brightcove
carrot
csound
feeds
account-kit
smart-table
mediaelement
gridpane
bonobo
autorest
python-stackless
pickadate
asp.net5
pyke
photobucket
execute
jms2
sankey-diagram
fluid-dynamics
python-green
qpainter
wordpress-theme-customize
rdl
dml
imdbpy
aqtime
dexterity
ril
file-locking
cos
gridcontrol
xamlparseexception
cassini-dev
coderush
jspinclude
osql
libc++
data-loss
hamachi
propagation
jmock
wise
gin
adrotator
port-number
ubuntu-9.04
data-acquisition
uiq3

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile