Code Monkey home page Code Monkey logo

rewalls's Introduction

reWalls : Wallpapers from Reddit

Frame 1

Initial code and design inspiration from Chitr and RetroMusicPlayer.

What's been done?

  • Fetch Wallpapers From your Favorite subreddits.
  • Add your own subreddits.
  • Set Image as Wallpaper.
  • Download Image.
  • Switch between 3 themes in runtime.

What's left?

  • Apply Lockscreen Wallpaper.
  • Make the Wallpaper Apply method asynchronous.

If you would like to contribute , feel free and open a PR.

rewalls's People

Contributors

bimsina avatar dpatrongomez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rewalls's Issues

Flutter run error

Compiler message:
../flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.3/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/ashvinbhagat/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 780

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/ashvinbhagat/development/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 18s
Finished with error: Gradle task assembleDebug failed with exit code 1

Theme changing dialog wont open

'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 322 pos 12: 'child.hasSize': is not true.
The relevant error-causing widget was
    AlertDialog 
lib/…/utils/dialog_utils.dart:115
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: RenderPhysicalShape#fe556 relayoutBoundary=up2
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1694 pos 12: 'hasSize'
The relevant error-causing widget was
    AlertDialog 

Using subreddits safe?

Is using subreddits safe like there won't be a wallpaper which will cause any issue or infrig google play's policies ? Some subreddits are - EarthPorn, CityPorn, SkyPorn, WeatherPorn or which came with the app

flutter run error

Compiler message:
../../flutter/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.3/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../../flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/kimz/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 780

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/kimz/flutter/bin/flutter'' finished with non-zero exit value 1

Type mismatch: inferred type is MainActivity but FlutterEngine was expected

I tried to implement your wallpaper apply method, but it fails, even tried cloning the reWall but the same error.

console message:

e: D:\projects\amazewall_wallpapers\android\app\src\main\kotlin\com\example\amazewall_wallpapers\MainActivity.kt: (24, 44): Type mismatch: inferred type is MainActivity but FlutterEngine was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                        31.5s
Exception: Gradle task assembleDebug failed with exit code 1

Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.

E/flutter ( 5067): If you're running an application and need to access the binary messenger before runApp() has been called (for example, during plugin initialization), then you need to explicitly call the WidgetsFlutterBinding.ensureInitialized() first.
E/flutter ( 5067): If you're running a test, you can call the TestWidgetsFlutterBinding.ensureInitialized() as the first line in your test's main() method to initialize the binding.
flutter error

How to add more subreddits in homepage?

Hello, How can i add more subreddits to the home carousel and wallpaper grid, i have seen currently it just take the top 2 subreddits from the list but i want it to display 5-6.

Missing subreddit names and unable to access filters

IMG_20220729_070413
IMG_20220729_070345

Sub reddit name not displayed on the subreddit tab as well as in the filters menu. Added a new irrelevant sub reddit and was able to view the text. Most displayed text/label names also cuts out.

Checked with alternate phone theme and font, however the issue persists.

Device details:

Make and model: Realme XT (RMX1921)
Android version: 11
Realme UI version: V2.0
Processor: Qualcomm SDM 712 Octa-core

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.