Loading .idea/caches/build_file_checksums.ser (537 B) File changed.No diff preview for this file type. View original file View changed file app/build.gradle +5 −6 Original line number Diff line number Diff line Loading @@ -85,17 +85,17 @@ dependencies { implementation 'io.github.kobakei:ratethisapp:1.2.0' //Pdf Viewer Library (Proguard config done) implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5' implementation 'com.github.barteksc:android-pdf-viewer:3.1.0-beta.1' //Android Annotations Library (Proguard config not needed) compileOnly 'org.androidannotations:androidannotations:4.4.0' implementation 'org.androidannotations:androidannotations-api:4.4.0' compileOnly 'org.androidannotations:androidannotations:4.5.2' implementation 'org.androidannotations:androidannotations-api:4.5.2' //License Presenter Library (Proguard config not needed) implementation 'com.github.franmontiel:AttributionPresenter:1.0' implementation 'com.github.franmontiel:AttributionPresenter:1.0.1' //View for Privacy Policy (Proguard config not needed) implementation 'org.sufficientlysecure:html-textview:3.5' implementation 'org.sufficientlysecure:html-textview:3.6' //View for App Licence (Proguard config not needed) implementation 'com.jgabrielfreitas:licensetextview:1.1.2' Loading @@ -105,5 +105,4 @@ dependencies { //Circle Image View implementation 'de.hdodenhof:circleimageview:2.2.0' } app/src/main/java/com/gsnathan/pdfviewer/AboutActivity.java +4 −0 Original line number Diff line number Diff line Loading @@ -190,4 +190,8 @@ public class AboutActivity extends AppCompatActivity { public void navToSourceCode(View v) { startActivity(Utils.linkIntent("https://github.com/JavaCafe01/TorchLight")); } public void showNotice(View v) { Utils.showNotice(this); } } No newline at end of file app/src/main/java/com/gsnathan/pdfviewer/LogFragment.java +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ public class LogFragment extends DialogFragment { return new AlertDialog.Builder(getActivity(), R.style.AppCompatAlertDialogStyle) .setTitle(R.string.appChangelog) .setView(chgList) .setIcon(R.drawable.log_icon) .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { Loading app/src/main/java/com/gsnathan/pdfviewer/MainActivity.java +5 −3 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ package com.gsnathan.pdfviewer; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; Loading @@ -37,6 +38,7 @@ import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.util.Log; import android.view.Menu; import android.view.MenuItem; Loading Loading @@ -76,7 +78,6 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen @Override protected void onCreate(Bundle savedInstanceState) { //setFullscreen(true); super.onCreate(savedInstanceState); onFirstInstall(); onFirstUpdate(); Loading @@ -85,9 +86,7 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen // Custom condition: 5 days and 5 launches RateThisApp.Config config = new RateThisApp.Config(5, 5); RateThisApp.init(config); // Monitor launch times and interval from installation RateThisApp.onCreate(this); // If the condition is satisfied, "Rate this app" dialog will be shown RateThisApp.showRateDialogIfNeeded(this); } Loading @@ -111,12 +110,15 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen if (isFirstRun) { showLog(); Utils.showNotice(this); SharedPreferences.Editor editor = prefs.edit(); editor.putBoolean(Utils.getAppVersion(), false); editor.apply(); } } protected void onNewIntent(Intent intent) { super.onNewIntent(intent); handleIntent(intent); Loading Loading
.idea/caches/build_file_checksums.ser (537 B) File changed.No diff preview for this file type. View original file View changed file
app/build.gradle +5 −6 Original line number Diff line number Diff line Loading @@ -85,17 +85,17 @@ dependencies { implementation 'io.github.kobakei:ratethisapp:1.2.0' //Pdf Viewer Library (Proguard config done) implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5' implementation 'com.github.barteksc:android-pdf-viewer:3.1.0-beta.1' //Android Annotations Library (Proguard config not needed) compileOnly 'org.androidannotations:androidannotations:4.4.0' implementation 'org.androidannotations:androidannotations-api:4.4.0' compileOnly 'org.androidannotations:androidannotations:4.5.2' implementation 'org.androidannotations:androidannotations-api:4.5.2' //License Presenter Library (Proguard config not needed) implementation 'com.github.franmontiel:AttributionPresenter:1.0' implementation 'com.github.franmontiel:AttributionPresenter:1.0.1' //View for Privacy Policy (Proguard config not needed) implementation 'org.sufficientlysecure:html-textview:3.5' implementation 'org.sufficientlysecure:html-textview:3.6' //View for App Licence (Proguard config not needed) implementation 'com.jgabrielfreitas:licensetextview:1.1.2' Loading @@ -105,5 +105,4 @@ dependencies { //Circle Image View implementation 'de.hdodenhof:circleimageview:2.2.0' }
app/src/main/java/com/gsnathan/pdfviewer/AboutActivity.java +4 −0 Original line number Diff line number Diff line Loading @@ -190,4 +190,8 @@ public class AboutActivity extends AppCompatActivity { public void navToSourceCode(View v) { startActivity(Utils.linkIntent("https://github.com/JavaCafe01/TorchLight")); } public void showNotice(View v) { Utils.showNotice(this); } } No newline at end of file
app/src/main/java/com/gsnathan/pdfviewer/LogFragment.java +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ public class LogFragment extends DialogFragment { return new AlertDialog.Builder(getActivity(), R.style.AppCompatAlertDialogStyle) .setTitle(R.string.appChangelog) .setView(chgList) .setIcon(R.drawable.log_icon) .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { Loading
app/src/main/java/com/gsnathan/pdfviewer/MainActivity.java +5 −3 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ package com.gsnathan.pdfviewer; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; Loading @@ -37,6 +38,7 @@ import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.util.Log; import android.view.Menu; import android.view.MenuItem; Loading Loading @@ -76,7 +78,6 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen @Override protected void onCreate(Bundle savedInstanceState) { //setFullscreen(true); super.onCreate(savedInstanceState); onFirstInstall(); onFirstUpdate(); Loading @@ -85,9 +86,7 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen // Custom condition: 5 days and 5 launches RateThisApp.Config config = new RateThisApp.Config(5, 5); RateThisApp.init(config); // Monitor launch times and interval from installation RateThisApp.onCreate(this); // If the condition is satisfied, "Rate this app" dialog will be shown RateThisApp.showRateDialogIfNeeded(this); } Loading @@ -111,12 +110,15 @@ public class MainActivity extends ProgressActivity implements OnPageChangeListen if (isFirstRun) { showLog(); Utils.showNotice(this); SharedPreferences.Editor editor = prefs.edit(); editor.putBoolean(Utils.getAppVersion(), false); editor.apply(); } } protected void onNewIntent(Intent intent) { super.onNewIntent(intent); handleIntent(intent); Loading