kandi background
Explore Kits

BoomMenu | A menu which can ... BOOM! Android | Menu library

 by   Nightonke Java Version: Current License: No License

 by   Nightonke Java Version: Current License: No License

Download this library from

kandi X-RAY | BoomMenu Summary

BoomMenu is a Java library typically used in User Interface, Menu applications. BoomMenu has no bugs, it has no vulnerabilities, it has build file available and it has medium support. You can download it from GitHub, Maven.
A menu which can ... BOOM! - Android
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • BoomMenu has a medium active ecosystem.
  • It has 5718 star(s) with 1163 fork(s). There are 183 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 110 open issues and 133 have been closed. On average issues are closed in 97 days. There are 3 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of BoomMenu is current.
BoomMenu Support
Best in #Menu
Average in #Menu
BoomMenu Support
Best in #Menu
Average in #Menu

quality kandi Quality

  • BoomMenu has 0 bugs and 0 code smells.
BoomMenu Quality
Best in #Menu
Average in #Menu
BoomMenu Quality
Best in #Menu
Average in #Menu

securitySecurity

  • BoomMenu has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • BoomMenu code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
BoomMenu Security
Best in #Menu
Average in #Menu
BoomMenu Security
Best in #Menu
Average in #Menu

license License

  • BoomMenu does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
BoomMenu License
Best in #Menu
Average in #Menu
BoomMenu License
Best in #Menu
Average in #Menu

buildReuse

  • BoomMenu releases are not available. You will need to build from source code and install.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • BoomMenu saves you 4812 person hours of effort in developing the same functionality from scratch.
  • It has 10147 lines of code, 696 functions and 114 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
BoomMenu Reuse
Best in #Menu
Average in #Menu
BoomMenu Reuse
Best in #Menu
Average in #Menu
Top functions reviewed by kandi - BETA

kandi has reviewed BoomMenu and discovered the below as its top functions. This is intended to give you an instant insight into BoomMenu implemented functionality, and help decide if they suit your requirements.

  • Calculates the piece positions at the buttons .
  • Initialize attributes .
  • Note that this does not throw an exception .
  • Start the activity of the view .
  • Initializes the example .
  • Apply a transformation .
  • Get piece button data
  • Initialize bmb3 buttons .
  • Initialize the show delay dialog .
  • Changes the button in BOM - button .

BoomMenu Key Features

If you still wanna use version 1.0.9 or below, you can find the README below:. But I strongly suggest you to use the newest version.

Gradle & Maven

copy iconCopydownload iconDownload
compile 'com.nightonke:boommenu:2.1.1'

Boom menu crash

copy iconCopydownload iconDownload
<com.nightonke.boommenu.BoomMenuButton
android:id="@+id/bmb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"        
app:bmb_buttonEnum="textOutsideCircle"
app:bmb_piecePlaceEnum="piecePlace_dot_9_1"
app:bmb_buttonPlaceEnum="buttonPlace_sc_9_1"
/>

How can I add BoomMenu library from GitHub to my app?

copy iconCopydownload iconDownload
compile 'com.nightonke:boommenu:2.1.1'
<dependency>
<groupId>com.nightonke</groupId>
<artifactId>boommenu</artifactId>
<version>2.1.1</version>
<type>pom</type>
</dependency>
-----------------------
compile 'com.nightonke:boommenu:2.1.1'
<dependency>
<groupId>com.nightonke</groupId>
<artifactId>boommenu</artifactId>
<version>2.1.1</version>
<type>pom</type>
</dependency>

Community Discussions

Trending Discussions on BoomMenu
  • Boom menu crash
  • How can I add BoomMenu library from GitHub to my app?
Trending Discussions on BoomMenu

QUESTION

Boom menu crash

Asked 2021-Aug-28 at 08:39

I'm using boom menu for my first time. I get a error when I run my app:

java.lang.ClassCastException: com.nightonke.boommenu.BoomButtons.TextOutsideCircleButton$Builder cannot be cast to com.nightonke.boommenu.BoomButtons.SimpleCircleButton$Builder

This is my XML file:

    <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    <com.nightonke.boommenu.BoomMenuButton
        android:id="@+id/bmb"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="32dp"
        android:layout_marginBottom="32dp"
        app:bmb_buttonEnum="simpleCircle"
        app:bmb_buttonPlaceEnum="buttonPlace_sc_9_1"
        app:bmb_normalColor="#64DD17"
        app:bmb_piecePlaceEnum="piecePlace_dot_9_1"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

And my JAVA:

    public class MainActivity extends AppCompatActivity {
    BoomMenuButton boomMenuButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        boomMenuButton = (BoomMenuButton) findViewById(R.id.bmb);
        setbmbtn();


    }

    private void setbmbtn() {
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Circle"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Triangle"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Square"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Rectangle"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Rhombus"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Hexagon"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Parallelogram"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Pentagon"));
        boomMenuButton.addBuilder(new TextOutsideCircleButton.Builder().normalText("Trapezoid"));
    }
}

What is this error and how can I fix it?

I'm a novice developer. Thanks for your help.

ANSWER

Answered 2021-Aug-28 at 08:39

In your xml you have written app:bmb_buttonEnum="simpleCircle" but in java you are using another type of button for this library. For example if you want to use TextOutsideCircleButton replace your xml in this way:

<com.nightonke.boommenu.BoomMenuButton
android:id="@+id/bmb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"        
app:bmb_buttonEnum="textOutsideCircle"
app:bmb_piecePlaceEnum="piecePlace_dot_9_1"
app:bmb_buttonPlaceEnum="buttonPlace_sc_9_1"
/>

note that the value for app:bmb_buttonEnum should be exactly same as java when you initialize boomMenuButton.addBuilder("SAME_TYPE_AS_YOUR_XML")

Source https://stackoverflow.com/questions/68943719

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install BoomMenu

You can download it from GitHub, Maven.
You can use BoomMenu like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the BoomMenu component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

Support

Basic Usage How to use BMB in just several lines of code?Simple Circle Button Add simple circle buttons with just an image for each to BMB.Text Inside Circle Button Add text inside circle buttons with a text and image inside for each to BMB.Text Outside Circle Button Add text outside circle buttons with a text and image outside for each to BMB.Ham Button Add ham buttons with with a title, subtitle and image inside for each to BMB.Share Style Make a share-style BMB.Custom Position Customize the number and positions of pieces and boom-buttons.Button Place Alignments Place all the buttons to anywhere on screen.Different Ways to Boom Different animations when the buttons boom or re-boom.Ease Animations for Buttons Use different and cute ease-animations for buttons.Different Order for Buttons Different order enum for boom-buttons.Other Animations Attributes for Buttons Delay, duration, rotate-degrees, frames...Click Event and Listener Listener for clicking each button or animation-states.Control BMB Boom or re-boom BMB programmatically.Use BMB in Action Bar How to put BMB in action bar?Use BMB in Tool Bar How to put BMB in tool bar?Use BMB in List Matters need attention when you need a BMB in list-view or recycler-view.Use BMB in Fragment Example for use BMB in fragment.Attributes for BMB or Pieces on BMB How to change the size or margins of dots on BMB?Cache Optimization & Boom Area What if I want BMB to boom in just its parent-view?Change Boom Buttons Dynamically Change Boom Buttons Dynamically.Fade Views Add faded views on BMB.Version History What's more for every version?Structure for BMB Structure for BMB when I designed it, for sharing and communicating.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Reuse Pre-built Kits with BoomMenu
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.