Rewrite ARCHITECTURE.md

Redo the structure of ARCHITECTURE.md to make more sense with its intended purpose.
This commit is contained in:
OxygenCobalt
2021-02-07 19:57:52 -07:00
parent 26dd1036ec
commit ed10bd1898
2 changed files with 70 additions and 46 deletions
@@ -21,7 +21,8 @@ import org.oxycblt.auxio.playback.state.PlaybackMode
* Extension method for creating and showing a new [ActionMenu].
* @param anchor [View] This should be centered around
* @param data [BaseModel] this menu corresponds to
* @param flag (Optional, defaults to [ActionMenu.FLAG_NONE]) Any extra flags to accompany the data. See [ActionMenu] for more details
* @param flag (Optional, defaults to [ActionMenu.FLAG_NONE]) Any extra flags to accompany the data.
* @see ActionMenu
*/
fun Fragment.newMenu(anchor: View, data: BaseModel, flag: Int = ActionMenu.FLAG_NONE) {
ActionMenu(requireCompatActivity(), anchor, data, flag).show()