android


Shouldn't the view state be restored before presenter is created?


Recently I've found out that Mosby3 got released and I'm pretty glad that it has much better control over view states and all that jazz, but it came to my attention that presenter is created before view state is restored. Is this intended or is it a misunderstanding on my end? I'd assume that you'd want to restore view state before you reload data.
No, View has no state, it just shows state of the model. You create Presenter, tell presenter that View is re-created (perhaps,because of device rotation) and then Presenter take data from model and restores state of the View.

Related Links

Android for actionbar to provide custom view for tab
What is the preferred way to access an Android database (from the phone) and SQLite database (from the PC) with the same API?
Fragment onCreateView and onActivityCreated not being called on rotation
Missing google-play-services_lib under <sdk>/extras/google/google_play_services/libproject/
Saving image to SD card then displaying in imageview
Check when finger enters ImageView
Android SlidingTabLayout with icons
IBM Worklight - Android “Downloading Application update” dialog disappears if tapping outside of the dialog
Developing android application on Android device or online including APK generation [closed]
In which condition set-repeat Alarm get canceled in android?
Android and storage
Splash screen in android
Android Divide image into pieces and get equivalent size of image pieces(chunks)
PhoneGap Capture API calls onFail function when back key is pressed in Android
Jumbo mode with android dx compiler on mac os x
How android scales drawables? If I have xhdpi, hdpi, mdpi but don't have ldpi?

Categories

HOME
cygwin
scikit-learn
hyperlink
design-patterns
jmx
static
serialization
r-googlesheets
nuget-package
character
barcode
performancepoint
accessibility
fabric.io
resultset
libc
intercom
screen-readers
event-sourcing
alpacajs
google-content-api
video-editing
springfox
systemtime
react-toolbox
inno-download-plugin
resourcebundle
jquery-callback
perlbrew
siri
datastax-enterprise-graph
panoramas
postback
powershell-ise
zend-debugger
code-snippets
card.io
jett
instantiation
roblox
searchkit
sharepoint-workflow
xcode7.3
ideascript
demo
file-sharing
apache-directory
jboss-4.2.x
ovf
libgphoto2
lampp
geotiff
er-diagram
seq
branch-prediction
materialized-path-pattern
myspace
adafruit
uicolor
upx
database-relations
aspen
jparsec
piracy-prevention
concept-insights
spring-retry
character-replacement
visual-sourcesafe-2005
rpart
slash
alloy-ui
diff3
zxspectrum
phpldapadmin
showdialog
theos
sonarqube-5.0
structuremap3
insight.database
rcaller
cancellation
jjaql
dsym
flex++
scmmanager
superscrollorama
windows-98
argouml
sqlclr
mkv
monotouch.dialog
lambdaj
multiplatform
quotation-marks
collectionviewsource
photolibrary
diagrams
load-time
cruisecontrol.rb
vs-android
object-database
ajax-polling
burndowncharts
echo3
strtod
tui

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