Git Product home page Git Product logo

patilshreyas / materialnavigationview-android Goto Github PK

View Code? Open in Web Editor NEW
202.0 7.0 28.0 827 KB

๐Ÿ“ฑ Android Library to implement Rich, Beautiful, Stylish ๐Ÿ˜ Material Navigation View for your project with Material Design Guidelines. Easy to use.

License: GNU General Public License v3.0

Kotlin 100.00%
android android-library kotlin-android kotlin navigation-drawer material-ui material-design navigationview android-design material-components

materialnavigationview-android's Issues

Suggestions and implementation of New item styles

If you have good ideas or suggestions or good material design structure available for item style of MaterialNavigationView then you're at right place. You can contribute us if you have cool ideas. You are always welcome. You can open PR or simply show your design here in comments. Thank you.

OnClick open activity

i've already clone this repo and open it on android studio, works well
but if i want to use activity instead of fragment when onclick navigation item, how to do that ?

Thank's

Do something when Navigation View Item is touched

I'm using this library on my project. I have some options on my sidebar menu and I don't want to display the screen inside fragment, I want to start a new activity. How can I start a new activity when some item is touched?

FAILURE: Build completed with 7 failures.

Write information about Bug/Feature Request here
FAILURE: Build completed with 7 failures.

1: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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.
    ==============================================================================

2: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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.
    ==============================================================================

3: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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.
    ==============================================================================

4: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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.
    ==============================================================================

5: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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.
    ==============================================================================

6: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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.
    ==============================================================================

7: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.shreyaspatil:MaterialNavigationView:1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://jitpack.io/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
- https://repo.maven.apache.org/maven2/com/shreyaspatil/MaterialNavigationView/1.2/MaterialNavigationView-1.2.pom
Required by:
project :app

  • 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 7s

Error inflating class

Did everything as u said to implement the MaterialNavigationView instead the default NavigationView
(Changed it both in the xml file and in the java file)
And i get this error when i run the app... any idea why?
Error inflating class com.shreyaspatil.material.navigation.MaterialNavigationView

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.