Skip to content

WallpaperAI is a wallpaper/widget app for Android, made in ÜK335 in January 2024

Notifications You must be signed in to change notification settings

Nevah5/WallpaperAI

Repository files navigation

WallpaperAI


WallpaperAI
Create your personal Wallpapers & Widgets!

Planning

Class Diagram

ClassDiagram

This was the class diagram in the planning phase. I have noticed that there are a few things that I've missed and that should be adjusted.

  • The LoginActivity is missing
    The login activity should be connected with the main activity. The activity should be startable in the create fragment or the settings fragment. Depends from where the user is coming.
  • The GenerateImageActivity should be GenerateActivity
    I renamed it, because I think it's easier.
  • The CreatePageFragment also uses DatabaseService
    When you go to the Create page, it has to detect if the user entered an api key already. For this the database service has to be called to check this. If the user hasn't entered a key, it starts the LoginActivity.
  • hasApiKey() method on the DatabaseService
    I realized that it would be easier, if there was another method to check if the api key was set. Then I don't have to always do databaseService.getApiKey().isNotEmpty().
  • ImageModel is a data class
    The ImageTypeEnums is also not existent, because when the ImageModel is safed, it stores the urls in different jsons. For example wallpapers.json and widgets.json
  • PreferencesService, DatabaseService
    The PreferencesService holds the methods to store and read the APIKey, the DatabaseService (ImageService in the diagram) stores all the image urls in json files.

About

WallpaperAI is a wallpaper/widget app for Android, made in ÜK335 in January 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages