Hysen Labs
Open-source project
Ramotion/folding-cell-android avatar
Ramotion

folding-cell-android

GitHub describes it as :octocat: 📃 FoldingCell is a material design expanding content cell inspired by folding paper material made by @Ramotion. The repository metadata lists Java as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.

4,881 stars833 forksJavaMIT
01
DEEP OPEN-SOURCE ANALYSIS

Ramotion/folding-cell-android: README details

GitHub describes it as :octocat: 📃 FoldingCell is a material design expanding content cell inspired by folding paper material made by @Ramotion. The repository metadata lists Java as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.

02
DEEP OPEN-SOURCE ANALYSIS

Repository scope

GitHub describes it as :octocat: 📃 FoldingCell is a material design expanding content cell inspired by folding paper material made by @Ramotion. The repository metadata lists Java as its primary language. The metadata lists the MIT license. The README describes the project this way: We specialize in the designing and coding of custom UI for Mobile Apps and Websites. Stay tuned for the latest updates:

03
DEEP OPEN-SOURCE ANALYSIS

Installation

The README section "Installation" states: ​ Just download the package from here and add it to your project classpath, or just use the maven repo:

04
DEEP OPEN-SOURCE ANALYSIS

Basic usage

The README section "Basic usage" states: ​ 2. Add exactly two child elements to your cell. The first child ( content view ) always represents the unfolded state layout and the second child ( title view ) represents folded state layout. Of course, those layouts can contain any number of child elements and they can be any complexity, but to work correctly, there are some limitations: content view height must be at least 2x times greater than title view height , and the height of each of those layouts must be set to android:layout height="wrap content" . If you want to set exact height in dp , you can set height for child elements in your own layout inside content view or title view . Also, you need to hide your content view layout using android:visibility="gone" . ​

05
DEEP OPEN-SOURCE ANALYSIS

Basic usage

The README section "Basic usage" states: ​ 3. Almost done! Two steps remain! For correct animation, you need to set up two properties on the root element(s) of your Folding Cell: ​

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The repository README is the source for this review. It does not replace a local installation or an independent test.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes