This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name SelfServicePlus | |
// @namespace SelfServicePlus | |
// @match http://astsih/SelfService/* | |
// @version v1.0 | |
// ==/UserScript== | |
// a function that loads jQuery and calls a callback function when jQuery has finished loading | |
function loadJQuery(callback) { | |
var script = document.createElement("script"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ViewPagerFragment extends Fragment { | |
private MyTabsAdapter mAdapter; | |
private static final int NB_TABS = 2; // to change with what you need | |
private static final String[] TAB_TITLES = new String[NB_TABS]; | |
public static ViewPagerFragment newInstance(final Bundle args) { | |
final ViewPagerFragment f = new ViewPagerFragment(); | |
f.setArguments(args); | |
return f; | |
} |
NewerOlder