question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a reason that in MvpViewStateFragment getViewState does not expose its type? I don’t like that I have to cast my view state implementations.

Why isn’t the whole signature like:

public abstract class MvpViewStateFragment<V extends MvpView, P extends MvpPresenter<V>, VS extends ViewState<V>>
    extends MvpFragment<V, P> implements BaseMvpViewStateDelegateCallback<V, P> {

then all ViewState<V> could be replaced by VS.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sockeqwecommented, Mar 9, 2017

implemented in 3.0

1reaction
sockeqwecommented, May 23, 2016

I don’t have time to work on that before mid June … I can’t say when a stable version will be available. I hope mid July, but I can’t make any promise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ASP.NET View State Overview | Microsoft Learn
Data Types You Can Store in View State · Strings · Integers · Boolean values · Array objects · ArrayList objects · Hash...
Read more >
What Is View State And How It Works In ASP.NET - C# Corner
NET view state and shows with an example how view state works in ASP.NET. View State is the method to preserve the Value...
Read more >
ViewState Example in ASP.Net - Meera Academy
ViewState is a important client side state management technique. ViewState is used to store user data on page at the time of post...
Read more >
asp.net - Which types of objects can we place in view state?
Types must be serializable to be placed in ViewState. ViewState is a serialized collection of objects so any serializable objects may be put ......
Read more >
Beginner's Guide To View State - CodeProject
Different types of state management? · Session · Application Object · Caching · Database.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found