This file contains 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
1. create assets folder in src under your app name. | |
2. In this assets folder keep your pdf files e.g. file.pdf. | |
3 now come your activity i.e MainActivity.java | |
4. setListener on any UI component what you want i.e (Button,ImageView,ImageButton); | |
5. In this listener call one user defined method i.e. openPDFFiles("file.pdf"); | |
the openPDFFiles() method have below code:—- | |
private void openPDFFiles(String fileName) //fileName is the pdf file name which is keep in assets folder. ex file.pdf | |
{ |
This file contains 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
// go on you labels pages | |
// eg https://github.com/cssnext/cssnext/labels | |
// paste this script in your console | |
// copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
var labels = []; | |
[].slice.call(document.querySelectorAll(".label-link")) | |
.forEach(function(element) { | |
labels.push({ | |
name: element.textContent.trim(), |
This file contains 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
package com.company; | |
import retrofit.RestAdapter; | |
import retrofit.http.GET; | |
import retrofit.http.Path; | |
import rx.Observable; | |
import rx.Subscriber; | |
import rx.functions.Action1; | |
import rx.functions.Func1; | |
import rx.functions.Func2; |
This file contains 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
HTML 7 mins █████████▏░░░░░░░░░░░ 43.8% | |
JSON 4 mins █████▍░░░░░░░░░░░░░░░ 26.1% | |
Vue.js 3 mins ███▊░░░░░░░░░░░░░░░░░ 18.0% | |
CSS 1 min ██▏░░░░░░░░░░░░░░░░░░ 10.5% | |
Other 0 secs ▎░░░░░░░░░░░░░░░░░░░░ 1.6% |
OlderNewer