MCPcopy Index your code
hub / github.com/aerdy/Viger-PDF

github.com/aerdy/Viger-PDF @1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2 ↗ · + Follow
511 symbols 1,123 edges 55 files 62 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Viger - View Pager PDF OpenSource

Viger PDF How to Works is file pdf extract or convert to bitmap use Library Vudroid was write C Language, after that images include to adapter viewpager

Download

Gradle:

repositories {
        jcenter()
        maven { url 'https://jitpack.io' }
}
dependencies {
    compile 'com.github.aerdy:Android-Viger_View_Pager_PDF_OpenSource:-SNAPSHOT'
}

Support Android Version

        minSdkVersion 15

Library Support Open Source PDF and Connection

  • Vudroid Library PDF
  • Retrofit 2 Get Stream Connection

Support Get PDF From URL

private void fromNetwork(String endpoint) {
        new VigerPDF(this, endpoint).initFromFile(new OnResultListener() {
            @Override
            public void resultData(ArrayList<Bitmap> data) {
                VigerAdapter adapter = new VigerAdapter(getApplicationContext(),data);
                viewPager.setAdapter(adapter);
            }
        });
    }

Supprt Get PDF From File

 private void fromFile(String path) {
        File file = new File(path);
        new VigerPDF(this, file).initFromFile(new OnResultListener() {
            @Override
            public void resultData(ArrayList<Bitmap> data) {
                VigerAdapter adapter = new VigerAdapter(getApplicationContext(),data);
                viewPager.setAdapter(adapter);
            }
        });
    }

License

Copyright 2017 Necis Studio

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Extension points exported contracts — how you extend this code

IPhotoView (Interface)
(no doc) [4 implementers]
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/IPhotoView.java
Logger (Interface)
interface for a logger class to replace the static calls to android.util.Log [2 implementers]
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/log/Logger.java
CodecDocument (Interface)
(no doc) [3 implementers]
PDFVigerLib/src/main/java/org/vudroid/core/codec/CodecDocument.java
OnResultListener (Interface)
Created by Vim on 1/31/2017. [1 implementers]
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/manage/OnResultListener.java
OnSingleFlingListener (Interface)
Interface definition for a callback to be invoked when the ImageView is fling with a single touch @author tonyjs [1 implementers]
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/PhotoViewAttacher.java

Core symbols most depended-on inside this repo

getImageView
called by 18
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/PhotoViewAttacher.java
getWidth
called by 16
PDFVigerLib/src/main/java/org/vudroid/core/codec/CodecPage.java
recycle
called by 11
PDFVigerLib/src/main/java/org/vudroid/core/codec/CodecPage.java
getHeight
called by 10
PDFVigerLib/src/main/java/org/vudroid/core/codec/CodecPage.java
getLogger
called by 10
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/log/LogManager.java
getBitmap
called by 9
PDFVigerLib/src/main/java/org/vudroid/core/PageTreeNode.java
d
called by 9
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/log/Logger.java
getZoom
called by 8
PDFVigerLib/src/main/java/org/vudroid/core/models/ZoomModel.java

Shape

Method 443
Class 46
Interface 22

Languages

Java100%

Modules by API surface

PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/PhotoViewAttacher.java81 symbols
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/PhotoView.java39 symbols
PDFVigerLib/src/main/java/org/vudroid/core/DocumentView.java32 symbols
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/utils/IPhotoView.java30 symbols
PDFVigerLib/src/main/java/org/vudroid/core/PageTreeNode.java28 symbols
PDFVigerLib/src/main/java/org/vudroid/core/DecodeServiceBase.java27 symbols
PDFVigerLib/src/main/java/org/vudroid/pdfdroid/codec/PdfPage.java15 symbols
PDFVigerLib/src/main/java/org/vudroid/core/DecodeService.java15 symbols
PDFVigerLib/src/main/java/org/vudroid/core/Page.java14 symbols
PDFVigerLib/src/main/java/org/vudroid/core/models/ZoomModel.java10 symbols
PDFVigerLib/src/main/java/com/necistudio/vigerpdf/manage/RenderingPDFNetwork.java10 symbols
SampleViger/src/main/java/com/necistudio/pdfengineme/MainActivity.java9 symbols

For agents

$ claude mcp add Viger-PDF \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact