In Android Studio, there are two options for code folding:
<editor-fold desc="Description">
//region Description
I used both for code folding, but I never understand - what is the difference between them?
The difference is in style. <editor-fold..>
provides NetBeans folding style and region..endregion
provides Visual Studio folding style.
Note:
You can only choose one of the styles for a particular file. No mixing should be done.