[Doc] App general structure #92

Closed
opened 1 year ago by 6543 · 6 comments
6543 commented 1 year ago
Collaborator

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 1 year ago
6543 added the
Documentation
label 1 year ago
6543 commented 1 year ago
Poster
Collaborator

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.
6543 commented 1 year ago
Poster
Collaborator

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 1 year ago
opyale added the
Priority-low
label 1 year ago

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.
mmarif closed this issue 6 days ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.