Questions tagged [viewpage]

79 questions
1
vote
1 answer

Migrating .net framework to .netcore 3.1 (Servicestack.Razor Views)

I'm migrating a .net framework web to .netcore Having issues with moving the 'Views' folder. It seems that every razor page with @inherits ViewPage I get an error "The type or namespace 'ViewPage<>' could not be found (are you missing a…
1
vote
1 answer

Visual Studio 2019 not Recognizing new Files Pulled from GitHub

I am working in a team with a project where GitHub is used. The project type is Google Gloud Project MVC5 .NET Framework 4.5.2. When new changes are pulled down from GitHub, the new files are not detected as the correct filetype, resulting in the…
1
vote
1 answer

React native viewPager how to disable edge to edge

I'm using the react native viewPager from react native community : https://github.com/react-native-community/react-native-viewpager And I would like to render something like the logo displayed on the main page : But it looks like the childrens…
Toto NaBendo
  • 290
  • 3
  • 26
1
vote
0 answers

Smooth Scrolling is not working in viewpage indicator

I am working on circular view page indicator(Looping).Based on the stackoverflow solution i implemented Circularviewpager class and it was working fine.The Issue which i am facing here is i have four images in array namely A,B,C,D. If i swipe left…
1
vote
3 answers

adding next and previous buttons to ViewPager

I want to make an image slider with Android Studio. I found a new slider code, built with ViewPager, I tried it and worked.. but I want to add 2 buttons for next and previous.. When clicked button, it must go to next picture or previous…
İsmail
  • 354
  • 1
  • 5
  • 16
1
vote
0 answers

ViewPage - Change the icon on the text

I faced with a problem I can not solve. How can you replace icons in the text resource. Let's say instead of the first icons - current , the second icon - finished . public class ViewPageAdapter extends FragmentPagerAdapter implements…
1
vote
1 answer

Adding and removing views from UIScrollView on iOS

I'm trying to implement a view pager using horizontal UIScrollView. The view pager may contain many views. I'm using UIScrollview with pagingEnabled to true. The problem is that I cannot have all the views in the memory at the same time as there can…
meteors
  • 1,747
  • 3
  • 20
  • 40
1
vote
1 answer

How do I set up a ViewPage and it's Adapter in android?

Im trying to learn about how to set up sliding tabs on my app's custom 'Toolbar' using material design. As I understand it, I'll need a 'ViewPage', does that mean i need to create a 'ViewPager', and set its 'Adapter'? Which I suppose will populate…
Lighterletter
  • 209
  • 2
  • 13
1
vote
1 answer

Mvc viewpages and custom data for all pages

I need some data to be available on all the viewpages inside the website. The data comes from an parameter supplied to all the routes, i want to get that param and get the according data for it and make it available for all the views (including the…
Richard
  • 287
  • 1
  • 10
1
vote
0 answers

UIPageViewController NavigationItem issues due to viewControllerBeforeViewController

So I have a view pager that is suppose to allow users to slide through photos the way a user would expect to slide through a album of photos , but the issue comes in when a user slides around and trys to press the "share" button in the navigation…
1
vote
2 answers

How to use Sliding Drawer with View Pager?

I'm trying to make a screen with the view can be change using a View Pager, sliding to left or right, and use a Sliding Drawer to make a toolbar on the bottom, but my code isn't working. Here is the XML. How can I fix this?
Daniel Nazareth
  • 530
  • 1
  • 6
  • 22
1
vote
2 answers

MVC Multiple ViewPage items in aspx required

I need to pass in 2 objects to a page to access Model.NewsItems and Model.Links (the first is a class of news item objects with heading, content etc and the Links are a set of strings for hyperlink depending on whether the system is up or down. This…
esb
  • 11
  • 1
1
vote
4 answers

ViewUserControl containing ViewPage

Is there a way to get a reference for the ViewPage that contains a parital view from the partial view ??
Ahmed Khalaf
  • 1,220
  • 12
  • 28
1
vote
1 answer

ASP.NET MVC ViewPage Lifecycle

I would like to know when (which event/function) the class System.Web.Mvc.ViewPage runs when it reads the @Page directive of the view. In particular, I would like to programmaticly interpret the values of the @Page directive, override them, then…
Omar
  • 39,496
  • 45
  • 145
  • 213
1
vote
1 answer

android: how to use FragmentStatePagerAdapter easy way?

I'm looking for any tutorial or sample code that describe how to using the FragmentStatePagerAdapter