[Doc] App general structure #92

Closed
opened 2020-06-03 15:29:12 +00:00 by 6543 · 6 comments
Member

would be nice to have a smal docu wich fragment is related to wich layout and how things are structured in code

Prio is not high but i leave as a note ...

  • add smal page to wiki?
would be nice to have a smal docu wich fragment is related to wich layout and how things are structured in code Prio is not high but i leave as a note ... * add smal page to wiki?
6543 added this to the 3.0.0 milestone 2020-06-03 15:29:12 +00:00
6543 added the
📄 Documentation
label 2020-06-03 15:29:12 +00:00
Author
Member

i open this issue becaues when i start contribue to this project i had to look a lot and eaven asked you several thimes about maginal things ...

i open this issue becaues when i start contribue to this project i had to look a lot and eaven asked you several thimes about maginal things ...
Owner

Sure, I will try to document them after 2.2.0 release.

Sure, I will try to document them after 2.2.0 release.
Author
Member

I would say when RoomDB is added, we should create a smal overview :)

I would say when RoomDB is added, we should create a smal overview :)
Owner

@6543 Do we need document something here?

@6543 Do we need document something here?
opyale removed this from the 3.0.0 milestone 2020-07-23 17:37:20 +00:00
opyale added the
📍 Priority-low
label 2020-07-23 17:38:52 +00:00
Contributor

I don't have wiki write permission, but maybe this is fine?

app/src/main
├── AndroidManifest.xml # Manifest file
├── assets
│   └── fonts 
│       └── # custom fonts
├── java/org/mian/gitnex
│   ├── actions
│   │   └── # reusable actions to send POST, PATCH, PUT or DELETE requests to Gitea instances
│   ├── activities
│   │   ├── # the application's activities
│   │   ├── MainActivity.java # main activity, launched when app launchs
│   │   └── Settings*Activity.java # activities used in the settings
│   ├── adapters
│   │   ├── # the application's adapters for RecyclerViews
│   │   └── profile
│   │       └── # the adapters for RecyclerViews used in the user profiles
│   ├── clients
│   │   └── # clients for Picasso and Retrofit
│   ├── core
│   │   ├── MainApplication.java # the application code
│   │   └── MainGrammarLocator.java # code to get syntax highlighting language from extension
│   ├── database
│   │   ├── api
│   │   │   └── # classes to query database content
│   │   ├── dao
│   │   │   └── # Room Daos (Database Access Objects)
│   │   ├── db
│   │   │   └── GitnexDatabase.java # the database
│   │   └── models
│   │       └── # database models
│   ├── fragments
│   │   ├── # the application's fragments (used in MainActivity and ViewPagers)
│   │   └── profile
│   │       └── # the fragments used in the user profiles
│   ├── helpers
│   │   └── # various classes/functions to simplify code
│   ├── notifications
│   |   └── # background notifications
│   ├── viewmodels
│   |   └── # ViewModels for different activities/fragments
│   └── views
│       └── # Android views
└── res
    ├── # Android resource files
    ├── drawable # icons and logos
    ├── layout # layout files
    ├── menu # menu files (for option menus)
    └── values-* # translation files
I don't have wiki write permission, but maybe this is fine? ``` app/src/main ├── AndroidManifest.xml # Manifest file ├── assets │ └── fonts │ └── # custom fonts ├── java/org/mian/gitnex │ ├── actions │ │ └── # reusable actions to send POST, PATCH, PUT or DELETE requests to Gitea instances │ ├── activities │ │ ├── # the application's activities │ │ ├── MainActivity.java # main activity, launched when app launchs │ │ └── Settings*Activity.java # activities used in the settings │ ├── adapters │ │ ├── # the application's adapters for RecyclerViews │ │ └── profile │ │ └── # the adapters for RecyclerViews used in the user profiles │ ├── clients │ │ └── # clients for Picasso and Retrofit │ ├── core │ │ ├── MainApplication.java # the application code │ │ └── MainGrammarLocator.java # code to get syntax highlighting language from extension │ ├── database │ │ ├── api │ │ │ └── # classes to query database content │ │ ├── dao │ │ │ └── # Room Daos (Database Access Objects) │ │ ├── db │ │ │ └── GitnexDatabase.java # the database │ │ └── models │ │ └── # database models │ ├── fragments │ │ ├── # the application's fragments (used in MainActivity and ViewPagers) │ │ └── profile │ │ └── # the fragments used in the user profiles │ ├── helpers │ │ └── # various classes/functions to simplify code │ ├── notifications │ | └── # background notifications │ ├── viewmodels │ | └── # ViewModels for different activities/fragments │ └── views │ └── # Android views └── res ├── # Android resource files ├── drawable # icons and logos ├── layout # layout files ├── menu # menu files (for option menus) └── values-* # translation files ```
Owner

Thanks @qwerty287. That was helpful.

https://codeberg.org/gitnex/GitNex/wiki/App-structure

I will close this issue now, feel free to reopen if needed.

Thanks @qwerty287. That was helpful. https://codeberg.org/gitnex/GitNex/wiki/App-structure I will close this issue now, feel free to reopen if needed.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#92
No description provided.