Questions tagged [pager]

455 questions
272
votes
18 answers

Replace Fragment inside a ViewPager

I'm trying to use Fragment with a ViewPager using the FragmentPagerAdapter. What I'm looking for to achieve is to replace a fragment, positioned on the first page of the ViewPager, with another one. The pager is composed of two pages. The first one…
Noodles
  • 3,183
  • 4
  • 16
  • 22
50
votes
11 answers

Get focused View from ViewPager

i use the ViewPager for switching views with left/right swipe. The ViewPager needs an Adapter, so I've built this one: public class ListViewPagerAdapter extends PagerAdapter { protected static final String TAG = "ListViewPagerAdapter"; protected…
Superroot
  • 661
  • 1
  • 6
  • 4
39
votes
5 answers

ViewPager show next and before item preview on screen

I want to show viewpager next and before page preview in screen. Before and next page show deep in screen and slide next page with deep animation. You can look this image How can i do it?
msevgi
  • 4,479
  • 2
  • 20
  • 29
34
votes
2 answers

Android ViewPager with previous and next pages visible?

I am currently building a horizontal gallery of videos. I'd like to make something like that with only one video centered and part of previous and next videos: I first opted for a Gallery but its limitations made me look for something else. I'd…
Romain Piel
  • 10,535
  • 15
  • 67
  • 105
30
votes
5 answers

Android PagerAdapter, get current position

I want to get the current position of the visible view of my PagerAdapter I didn't see an obvious function like getPosition() and I want one. I want to add an object into its arraylist at that position, but I need to know it first
CQM
  • 36,672
  • 69
  • 214
  • 357
30
votes
2 answers

customize pager in psql

When I use psql, the command line tool of PostgreSQL, in interactive mode, it lists data as paginated output. However, because I use psql in a terminal application which can handle long outputs itself, I rather would like to get the whole output…
halloleo
  • 6,554
  • 6
  • 46
  • 88
26
votes
4 answers

Turning off the pager in git for the stash command only

I generally like the use of the pager in git, but for git stash the pager annoys me. When calling git stash list, I don't want to be shown the three lines of output in the pager -- it forces me to press q just to make the output unavailable again…
Sven Marnach
  • 483,142
  • 107
  • 864
  • 776
23
votes
3 answers

PagerTabStrip and PagerTitleStrip difference?

When should we use pagerTabStrip and when should we go for pagerTitleStrip??? What does the word interactive indicator and non-interactive indicator mean actually? Can you please explain me the difference and also can you please tell me if there is…
Ajitha
  • 717
  • 1
  • 5
  • 30
20
votes
7 answers

Updating jQuery Tablesorter plugin after removing a row from DOM

I have some code at the moment that hides a row that is deleted and then removes it using the .remove() function. However I'm having difficulty is making it remain "deleted" as every time I refresh the table sorted pager plugin or the filter plugin…
Richard Thompson
  • 201
  • 1
  • 2
  • 3
19
votes
4 answers

How to create pager in Yii2?

I was searching how to create pager in Yii2 using LinkPage widget. Is there any example? I am new in Yii, so any help would be good.
newYii
  • 193
  • 1
  • 1
  • 4
18
votes
4 answers

When I use the "git log" command it is no longer implicitly piping through "less"

Before, I could just type git log Now, I have to type: git log | less to get the same effect. I haven't (intentionally) changed any parameters. I've checked my global config: "~/.gitconfig" and my project Git config ".git/config" but I can't see…
quinn
  • 4,357
  • 8
  • 29
  • 48
17
votes
3 answers

How to use pipe in IPython

In a Linux terminal, when the output of one command is too long to read in one page, I can do this: cat file | less so that I can read and scroll up and down the output from the cat file. How can I do this in IPython? For example, I tried this and…
McBear Holden
  • 5,179
  • 6
  • 31
  • 50
13
votes
5 answers

MySQL the command line and pagers

I cant find anything about this from searching here. I use mysql on the command line at work and I work with fairly large tables so I set the mysql pager allowing a more readable result if I run a query, that returns 1000's of results. I use the…
martynthewolf
  • 1,658
  • 11
  • 22
11
votes
5 answers

Syntax Highlighting Pager

Right now, I use most as my pager. While it has helpful syntax highlighting for man pages, it lacks colored syntax highlighting for anything else (I'm specifically looking for diff/C++). Meanwhile, pygments is a wonderful program. I can easily…
Travis Gockel
  • 24,743
  • 10
  • 80
  • 105
11
votes
2 answers

Unable to position pager (navigation bar) above jqGrid

According the the jqGrid documentation, I should be able to place the pager above or below the jqGrid by moving the pager div. Unfortunately, the pager always renders below the grid.
Tim Colton
  • 205
  • 2
  • 4
  • 8
1
2 3
30 31