Questions tagged [viewpage]

79 questions
0
votes
1 answer

Having trouble with starting a new fragment, app is built using ViewPager Swipe template

I have an activity that holds a ViewPager, set up as the template Swipe ViewPager. I have attached two fragments to that ViewPager via an adapter. I am now trying to open a new fragment but I am having great trouble getting it to work. I don't fully…
Velixo
  • 694
  • 6
  • 11
0
votes
1 answer

Android: PagerAdapter remove last view so you can't swipe left

Is there a way to prevent a user swiping to the left in PagerAdapter? When the user first enter the app they can't swipe to the left because there isn't anything there. So what if everytime you swiped to the right the left image gets destroyed and…
Splitme
  • 11
  • 3
0
votes
1 answer

bitmap Images not displaying in viewpager android

In my android app I am using a tab swipe view having 4 tabs first 2 tabs displays text, in next 2 tabs I need to display bitmap images which I get from server after some background processing.Problem is bitmaps object are available in the list but…
0
votes
1 answer

View Pager in android with View Pager indicator Click Event?

I am using the this sample code and library .This library is working fine with swipe the screen but i want when click the view pager indicator slide working for that position. Note: This View pager indicator click is working in android phone home…
0
votes
1 answer

Activity object referenced null in onViewCreated?

I am writing an PageViewer implementation using FragmentPagerAdapter. Fragment child uses Activity reference in onViewCreated(..){} which is get from onAttach(Activity activity){} private ScreenSlideActivity parentActivity = null; @Override …
CoDe
  • 11,056
  • 14
  • 90
  • 197
0
votes
4 answers

ASP.NET MVC pass information from controller to view WITHOUT ViewData, ViewModel, or Session

I have a unique scenario where I want a base controller to grab some data and store it in a list. The list should be accessible from my views just as ViewData is. I will be using this list on every page and would like a cleaner solution than just…
josh
  • 1
  • 2
0
votes
1 answer

How to implement condition on view change using ViewPager

In my program i am using Fragments with ViewPager, where each and every Fragment contains 3 checkboxes, and i want to put a condition if user has not checked any of the checkbox don't switch to other fragment when swipe. I know what could be the…
Sun
  • 6,768
  • 25
  • 76
  • 131
0
votes
1 answer

ViewPager Controller in Xamarin for IOS

Is there any ViewPager controller for ios in Xamarin C# Language. Which look simpler to pivot controller in windows phone. I search a lot i found ICViewPager but its in X-Code Objective-C language Is there any controller that helps to create…
kiran
  • 4,285
  • 7
  • 53
  • 98
0
votes
1 answer

How to implement an AngularJS controller in a webform?

I have an AngularJS controller that I want to use in my MVC webform view page. I have created a simple code but does not seem to work. Test.js angular.module('project').controller("TestCtrl", function($scope){ $scope.text =…
chary
  • 57
  • 13
0
votes
1 answer

Clearing OffscreenPage in Android ViewPager

I have a ViewPager and multiple tabs. One of these tabs controls the settings, which affects every other tabs. Everything updates itself perfectly fine when I change the settings, except for the pages that are kept in memory. In order to get these…
0
votes
1 answer

TabPageIndicator : want to have custom height, not wrap_content. Title of Tab not showing full text

I am using TabPageIndicator with ViewPager, referred from here. My layout XML is as follow:
0
votes
2 answers

Reusing ViewPage/HtmlHelper in seperate project in ASP.NET MVC using C#

I want to use the ViewPage/HtmlHelper class in the System.Web.Mvc namespace in a seperate project. I imported the relevant libraries and then tried this: using System.Web.Mvc; using System.Web.Mvc.Resources; using System.Web.Mvc.Html; public static…
Mr. Smith
  • 5,489
  • 11
  • 44
  • 60
0
votes
1 answer

About swipe view and subview in android?

I want create a project with form as: View 1: View 2: (oriental:Horizontal) View 2.1:(child of View 2) View 2.2:(child of View 2) View 3: (oriental:Horizontal) View 3.1:(child of View 3) View 3.2:(child of View…
dleviathan
  • 87
  • 1
  • 2
  • 17
0
votes
3 answers

Is it right to generate the javascript using C# in ASP.NET MVC view page?

[Sorry for long question but it is necessary to explain the problem] I am working on a learning website and it is supposed to show a list of messages to user if there are any. Something like this: When user presses close button, that message must…
Hemant
  • 19,486
  • 24
  • 91
  • 127
0
votes
1 answer

scrollview don't refreshing in the viewpager

I have a PagerAdapter, which includes a 10-element array. private Object[] pageViewerList; I fill it ArrayList ArrayList array = new ArrayList(); pageViewerList[y] = new ArrayList(); Each page contains a scrollview. The…
BaluEdo
  • 119
  • 2
  • 11