Git Product home page Git Product logo

dice's Introduction

Banner

Dice 🎲

GitHub Workflow Status License ktlint

Dice 🎲 is a minimalistic, intuitive and an ad-free dice-roll applicationπŸ“± with which you can play your favourite board games, built to demonstrate use of modern android development tools

Download the latest version :

Dice App


Built With πŸ› 

  • Kotlin - Official programming language for Android development.

  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.

    • Flow : In coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value.
    • Coroutines : A coroutine is an instance of suspendable computation
    • HILT : Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
    • LiveData : LiveData is an observable data holder class
    • ViewModel : Stores UI-related data that isn't destroyed on UI changes.
    • DataBinding : The Data Binding Library is a support library that allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically.
    • DataStore : Jetpack DataStore is a data storage solution that allows you to store key-value pairs or typed objects with protocol buffers.
    • Jetpack Navigation : Navigation refers to the interactions that allow users to navigate across, into, and back out from the different pieces of content within your app
    • Jetpack Preference Setting : Settings allow users to change the functionality and behavior of an application.
    • Splash Screen API : Splash Screen is usually the first screen visible to the user when the application is launched.
    • FireBase Auth : Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app
    • JUnit : JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
    • Robolectric : Robolectric is a framework that brings fast and reliable unit tests to Android. Tests run inside the JVM on your workstation in seconds.
    • Mockito : Mockito is a mocking framework
    • Espresso : The Espresso API encourages test authors to think in terms of what a user might do while interacting with the application - locating UI elements and interacting with them.
  • Material Components for Android : Modular and customizable Material Design UI components for Android.

  • Figma : Figma is a vector graphics editor and prototyping tool which is primarily web-based.


Contribute 🀝

If you want to contribute to this app, you're always welcome! See Contributing Guidelines.


License πŸ”–

MIT License

Copyright (c) 2022 Shreyansh Saurabh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

dice's People

Contributors

binaryshrey 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

Watchers

 avatar  avatar

dice's Issues

App crashed when open

Here is the error

java.lang.RuntimeException: Canvas: trying to draw too large(138603712bytes) bitmap.
    at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:229)
    at android.view.RecordingCanvas.drawBitmap(RecordingCanvas.java:97)
    at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:529)
    at android.widget.ImageView.onDraw(ImageView.java:1367)
    at android.view.View.draw(View.java:19218)
    at android.view.View.updateDisplayListIfDirty(View.java:18168)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1994)
    at android.view.View.draw(View.java:19221)
    at android.view.View.updateDisplayListIfDirty(View.java:18168)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at androidx.fragment.app.FragmentContainerView.drawChild(FragmentContainerView.java:268)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at androidx.fragment.app.FragmentContainerView.dispatchDraw(FragmentContainerView.java:256)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:1994)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.updateDisplayListIfDirty(View.java:18159)
    at android.view.View.draw(View.java:18946)
    at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4024)
    at android.view.View.draw(View.java:19221)
    at com.android.internal.policy.DecorView.draw(DecorView.java:791)
    at android.view.View.updateDisplayListIfDirty(View.java:18168)
    at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:685)
    at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:691)
    at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:799)
    at android.view.ViewRootImpl.draw(ViewRootImpl.java:3056)
    at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2851)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2404)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6886)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)
    at android.view.Choreographer.doCallbacks(Choreographer.java:841)
    at android.view.Choreographer.doFrame(Choreographer.java:772)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1015)
    at android.os.Handler.handleCallback(Handler.java:794)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:176)
    at android.app.ActivityThread.main(ActivityThread.java:6651)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)

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.