Convert Figma logo to code with AI

Haptic-Apps logoSlide

Slide is an open-source, ad-free Reddit browser for Android.

1,781
344
1,781
445

Top Related Projects

Android view for displaying PDFs rendered with PdfiumAndroid

[DEPRECATED] A fast PDF reader component for Android development

Android library (AAR). Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc.

18,777

Implementation of ImageView for Android that supports zooming, by various touch gestures.

Quick Overview

Slide is an open-source Android launcher that focuses on simplicity, customization, and performance. It offers a clean and minimalist interface while providing users with various options to personalize their home screen experience. The launcher is designed to be lightweight and efficient, making it suitable for a wide range of Android devices.

Pros

  • Highly customizable with numerous theming and layout options
  • Lightweight and performant, suitable for older or less powerful devices
  • Open-source, allowing for community contributions and transparency
  • Regular updates and active development

Cons

  • May lack some advanced features found in more complex launchers
  • Learning curve for users accustomed to traditional Android launchers
  • Limited third-party widget support compared to some popular alternatives

Code Examples

As Slide is an Android launcher application and not a code library, there are no specific code examples to provide. The project is primarily focused on end-user functionality rather than being a developer tool or library.

Getting Started

Since Slide is an Android launcher application, there's no code-based getting started process. Instead, users can follow these steps to start using Slide:

  1. Download the Slide launcher from the Google Play Store or compile it from source on GitHub.
  2. Install the application on your Android device.
  3. Press the home button and select Slide as your default launcher when prompted.
  4. Customize the launcher through the settings menu, accessible by long-pressing on the home screen.

For developers interested in contributing to the project:

  1. Fork the repository on GitHub.
  2. Clone your forked repository to your local machine.
  3. Open the project in Android Studio.
  4. Make your changes and submit a pull request to the main repository.

Competitor Comparisons

Android view for displaying PDFs rendered with PdfiumAndroid

Pros of AndroidPdfViewer

  • Lightweight and focused specifically on PDF rendering
  • Supports zooming and panning of PDF documents
  • Provides a simple API for integration into Android apps

Cons of AndroidPdfViewer

  • Limited to PDF viewing functionality only
  • May require additional libraries for more advanced features
  • Less actively maintained compared to Slide

Code Comparison

AndroidPdfViewer:

pdfView.fromAsset("sample.pdf")
    .pages(0, 2, 1, 3, 3, 3)
    .defaultPage(1)
    .showMinimap(false)
    .enableSwipe(true)
    .load();

Slide:

SlideFragment fragment = new SlideFragment();
Bundle args = new Bundle();
args.putString(SlideFragment.ARG_FILE_PATH, "/path/to/file.pdf");
fragment.setArguments(args);
getSupportFragmentManager().beginTransaction()
    .add(R.id.container, fragment)
    .commit();

The code snippets demonstrate the different approaches to loading and displaying PDF files. AndroidPdfViewer offers more granular control over page selection and viewing options, while Slide provides a more abstracted approach using fragments for easier integration into existing Android applications.

[DEPRECATED] A fast PDF reader component for Android development

Pros of android-pdfview

  • Lightweight and focused specifically on PDF rendering
  • Simple API for easy integration into Android apps
  • Supports zooming and panning of PDF documents

Cons of android-pdfview

  • Limited features compared to more comprehensive PDF libraries
  • Less active development and community support
  • May not handle complex PDF layouts or interactive elements as well

Code Comparison

android-pdfview:

PDFView pdfView = findViewById(R.id.pdfView);
pdfView.fromAsset("example.pdf")
    .defaultPage(0)
    .onLoad(this)
    .load();

Slide:

PDFSlideView slideView = findViewById(R.id.slideView);
slideView.setDocument(new File("/path/to/document.pdf"));
slideView.setPageFitMode(PDFSlideView.FitMode.FIT_WIDTH);
slideView.setOnPageChangeListener(this);

While both libraries provide methods for loading and displaying PDF documents, android-pdfview offers a more concise API for basic PDF rendering. Slide, on the other hand, appears to have more options for customizing the viewing experience, such as setting fit modes and page change listeners.

It's worth noting that Slide seems to be a more comprehensive solution for PDF handling, potentially offering additional features beyond basic rendering. However, for simple PDF viewing tasks, android-pdfview's lightweight nature and straightforward API might be preferable.

Android library (AAR). Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc.

Pros of subsampling-scale-image-view

  • Specialized for handling large images efficiently
  • Supports zooming and panning with smooth performance
  • Minimal memory usage through subsampling techniques

Cons of subsampling-scale-image-view

  • Limited to image viewing functionality
  • Less feature-rich compared to Slide's comprehensive Reddit client
  • May require additional libraries for full Reddit integration

Code Comparison

subsampling-scale-image-view:

SubsamplingScaleImageView imageView = new SubsamplingScaleImageView(context);
imageView.setImage(ImageSource.uri("/sdcard/image.jpg"));
imageView.setMaxScale(10f);

Slide:

ImageView imageView = new ImageView(context);
Glide.with(context)
    .load(imageUrl)
    .into(imageView);

The code snippets demonstrate the different approaches to image loading and display. subsampling-scale-image-view uses its custom view with built-in scaling and subsampling capabilities, while Slide relies on external libraries like Glide for image loading and standard Android ImageView for display.

subsampling-scale-image-view is more suitable for applications focused on high-quality image viewing with zoom functionality, whereas Slide offers a broader set of features for a complete Reddit browsing experience, including image viewing as part of its functionality.

18,777

Implementation of ImageView for Android that supports zooming, by various touch gestures.

Pros of PhotoView

  • More focused on image viewing functionality, providing a simpler and more specialized solution
  • Better documentation and examples, making it easier for developers to implement
  • More active development and maintenance, with regular updates and bug fixes

Cons of PhotoView

  • Limited to image viewing, lacking the broader file management features of Slide
  • Less customizable in terms of UI and functionality compared to Slide
  • Smaller community and fewer contributors, potentially leading to slower issue resolution

Code Comparison

PhotoView:

val photoView = findViewById<PhotoView>(R.id.photo_view)
photoView.setImageResource(R.drawable.image)
photoView.setScaleType(ImageView.ScaleType.CENTER_CROP)

Slide:

SlideActivity.startActivity(this, new Config.Builder()
    .setMode(Config.MODE_NORMAL)
    .setStartPosition(0)
    .setPreviewUrls(urls)
    .build());

PhotoView focuses on providing a simple way to add zoomable image views to an Android application, while Slide offers a more comprehensive file viewing and management solution. PhotoView's implementation is more straightforward, requiring less setup code, whereas Slide provides more options for customization and handling various file types.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Current project status

This project will be on indefinite hiatus for the foreseeable future, and may not be maintained. Updates are not guaranteed. See here for details.

You may continue to use Slide if you so wish. However, with this said, it would be recommended to consider migrating to another (more stable) Reddit client.

Some other open-source (and internally ad-free) Reddit clients include:

Slide

Slide is an open-source, ad-free Reddit browser for Android. It is based around the Java Reddit API Wrapper.

Slide is available on the Google Play Store and F-Droid.

Get it on Google Play Get it on F-Droid

There is an active community for Slide on the /r/slideforreddit subreddit, which anybody is welcome to join.

There is also a Discord.

Sponsors

Thank you to our awesome Github Sponsors, who help keep the Slide project going.

GitHub profile
KevinNThomashttps://github.com/KevinNThomas
andrewkdinhhttps://github.com/andrewkdinh

If you're interested in sponsoring our work, check out the sponsor slots for Slide contributors on the right-hand Sponsorship menu.

Contributing

Issues

In any project it's likely that a few bugs will slip through the cracks, so it helps greatly if people document any bugs they find to ensure that they get fixed promptly.

You can view a list of known issues and feature requests using the issue tracker. If you don't see your issue (or you aren't sure), feel free to submit it!.

Where appropriate, a screenshot works wonders to help us see exactly what the issue is. You can upload screenshots directly using the GitHub issue tracker or by attaching a link (to Imgur, for example), whichever is easier for you.

Translations

If you are able to contribute a translation into a language missing from Slide, or spot any room for improvement in an existing translation, we greatly appreciate anything you can assist with!

The project uses Crowdin, a platform that allows anybody to contribute to translating the app with as many words at a time as they want. Crowdin provides a nice interface for translating, and no knowledge of the code is needed.

Code

If you are a developer and wish to contribute to the app, please fork the project and submit a pull request.

If you have any questions, feel free to ask in the #android-dev Discord channel or drop me a message on Reddit.

If this is your first time contributing to the project and want to tackle an easy issue, take a look at the issues labelled Good First Issue. These issues have been marked as such because we believe they are easier to fix than other issues.

Changelog

The file CHANGELOG.md provides an overview of the changes for a release; for a more detailed look at changes to the app, view individual commits.

Licensing

Slide is licensed under the GNU v3 Public License.