two-way-gridview | Android GridView that can be configured to scroll | RecyclerView library

 by   jess-anders Java Version: Current License: No License

kandi X-RAY | two-way-gridview Summary

kandi X-RAY | two-way-gridview Summary

two-way-gridview is a Java library typically used in User Interface, RecyclerView applications. two-way-gridview has no bugs, it has no vulnerabilities and it has low support. However two-way-gridview build file is not available. You can download it from GitHub.

An Android GridView that can be configured to scroll horizontally or vertically. I should have posted this over a year and a half ago, but never got around to it. I needed a grid view that in portrait would scroll vertically, but in landscape, would scroll horizontally. I thought I could try hacking up the Gallery, but that never works out well, and if GridView could really be configured to scroll any direction, it would just be so much easier. So I built it one weekend. Lots of left, right, top, bottom changes, but the end result is a really useful UI widget. Feel free to use it in your apps, according to the Apache 2.0 license. Also feel free to fork it and improve it. You could fairly easily create a horizontal listview by extending TwoWayAbsListView.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              two-way-gridview has a low active ecosystem.
              It has 655 star(s) with 266 fork(s). There are 52 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 30 open issues and 8 have been closed. On average issues are closed in 1 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of two-way-gridview is current.

            kandi-Quality Quality

              two-way-gridview has 0 bugs and 0 code smells.

            kandi-Security Security

              two-way-gridview has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              two-way-gridview code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              two-way-gridview does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              two-way-gridview releases are not available. You will need to build from source code and install.
              two-way-gridview has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              two-way-gridview saves you 3156 person hours of effort in developing the same functionality from scratch.
              It has 6791 lines of code, 412 functions and 16 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed two-way-gridview and discovered the below as its top functions. This is intended to give you an instant insight into two-way-gridview implemented functionality, and help decide if they suit your requirements.
            • Called when a grid is selected
            • Set the current selection position
            • Sets the initial filter
            • Display popup
            • Draws this track
            • Draws the track
            • Draws the thumb
            • Called when the layout has changed
            • Searches for a position in the adapter
            • Implement the layout of the RecyclerView
            • Computes the offset of the vertical scrollbar depending on the view
            • Reclaims all views held by this one
            • Override to create a drawable state
            • Computes the extent of the vertical scrollable view
            • Computes the extent of the horizontal scrollable view
            • Compute the offset based on the scrollbar
            • Initialize AbsListView
            • Re - applies the drawable to the specified canvas
            • Check the consistency of the view
            • Computes the extent of the view horizontally
            • Updates the visibility indicators depending on the list view
            • Called when data has changed
            • Restore the state of a saved instance
            • Handles the restore state
            • Obtains a view which corresponds to the specified position
            • Computes the extent of the scrollable view
            Get all kandi verified functions for this library.

            two-way-gridview Key Features

            No Key Features are available at this moment for two-way-gridview.

            two-way-gridview Examples and Code Snippets

            No Code Snippets are available at this moment for two-way-gridview.

            Community Discussions

            Trending Discussions on two-way-gridview

            QUESTION

            Horizontal Gridview with a set number of rows
            Asked 2018-Apr-12 at 14:13

            I read a post (How to make grid-view horizontally scrollable in android) and I tried everything the responses say, but I couldn't manage to make a horizontal gridview with 3 rows.

            The closest I could get was using this: https://developer.android.com/reference/android/support/v17/leanback/widget/HorizontalGridView.html , and it has a big bug in which you can't set the number of rows with setNumRows(int) since it makes the horizontalgridview infinitly scrollable vertically.

            I also considered the option of rotating a normal gridview 270 degrees but it gives me a lot of problems since I want an all margin of 10dp in the gridview.

            And I also tried the TwoWay Gridview of github (https://github.com/jess-anders/two-way-gridview) but it didn't work either.

            Same with this video tutorial: https://www.youtube.com/watch?v=94rCjYxvzEE

            Please help me.

            ...

            ANSWER

            Answered 2018-Apr-12 at 14:13

            I ended up doing it by using a recycle view and setting a gridlayoutmanager to it.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install two-way-gridview

            You can download it from GitHub.
            You can use two-way-gridview 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 two-way-gridview 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

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jess-anders/two-way-gridview.git

          • CLI

            gh repo clone jess-anders/two-way-gridview

          • sshUrl

            git@github.com:jess-anders/two-way-gridview.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link