mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-05-18 14:34:12 +02:00
feat(dissertation): add reason to why modular code is important in compose
This commit is contained in:
parent
dc590aa3e7
commit
bbb3635736
@ -102,9 +102,11 @@ Brief overview of what it is supposed to do... % TODO
|
|||||||
for runtime environments to be specified (in this case, Desktop and Server)
|
for runtime environments to be specified (in this case, Desktop and Server)
|
||||||
\item Provides necessary build configurations in Gradle
|
\item Provides necessary build configurations in Gradle
|
||||||
\item Planning what to implement important as Compose is designed to use modular
|
\item Planning what to implement important as Compose is designed to use modular
|
||||||
components, otherwise a nested mess would happen, code harder to read.
|
components, otherwise a nested mess would occur as Compose is designed to have
|
||||||
|
Composable functions passed in to a Composable function and therefore by design
|
||||||
|
function nests will occur and the code will be harder to read if not managed correctly.
|
||||||
Figure~\ref{fig:compose-modular} shows example of using modular code
|
Figure~\ref{fig:compose-modular} shows example of using modular code
|
||||||
from the Actions screen in project (with code omissions)
|
from the Actions screen in project (with code omissions shown in comments)
|
||||||
\item Used Voyager~\cite{voyager} to handle screens
|
\item Used Voyager~\cite{voyager} to handle screens
|
||||||
\item Used Koin~\cite{koin} for dependency injection, to be able to get data from the
|
\item Used Koin~\cite{koin} for dependency injection, to be able to get data from the
|
||||||
database and VDMJ
|
database and VDMJ
|
||||||
@ -127,7 +129,11 @@ Brief overview of what it is supposed to do... % TODO
|
|||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
\subsection{Storing Data}
|
\subsection{Storing Data}
|
||||||
\begin{figure}
|
\begin{itemize}
|
||||||
|
\item Used SQLite databse with SQLDelight which creates typesafe Kotlin APIs
|
||||||
|
to interact with the database
|
||||||
|
\end{itemize}
|
||||||
|
\begin{figure}[!h]
|
||||||
\centering
|
\centering
|
||||||
\begin{tikzpicture}[
|
\begin{tikzpicture}[
|
||||||
auto,
|
auto,
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user