Develop ui components using composable functions

Assignment Help Computer Engineering
Reference no: EM133839179

Homework: Mobile Apps Development

Developing a Basic Android Application using Kotlin and Jetpack Compose with Multiple Activities

Purpose: The purpose of this lab homework is to:

1. Apply the basics of the Kotlin programming language.
2. Develop and implement UI components using composable functions, previews, and modifiers.
3. Design and construct complex UI layouts using Column, Row, Box, and Lists in Jetpack Compose.
4. Apply Jetpack Compose best practices to create responsive and maintainable user interfaces.

In this homework, you will develop a simple Android application using Kotlin and Jetpack Compose. The purpose is to get you familiar with the Android development environment, understand the basics of the Kotlin programming language, and learn the fundamental principles of Jetpack Compose for building UI components. You will develop a basic app with multiple activities to demonstrate your understanding of these concepts.

App Overview

You will build a basic note-taking app named "QuickNotes." The app will have the following features:

1. A home screen displaying a list of notes.
2. A screen to create a new note.
3. A screen to view and edit an existing note.

Activities and Navigation

I. Home Activity:

1. Displays a list of notes using a LazyColumn.
2. Each note item displays a title and a truncated content preview. Get the instant assignment help.
3. Includes a Floating Action Button (FAB) to navigate to the Create Note Activity.

II. Create Note Activity:

1. Contains input fields for the note title and note content.
2. Includes a save button to save the note and return to the Home Activity.

III. View/Edit Note Activity

1. Displays the selected note's title and content.
2. Allows the user to edit the note.
3. Includes a save button to save the changes and return to the Home Activity.

Jetpack Compose UI Elements

I. Home Activity:

1. Use LazyColumn for the list of notes.
2. Use Card for individual note items.
3. Use FloatingActionButton for the add note button.

II. Create Note Activity:

1. Use Column to arrange input fields vertically.
2. Use TextField for the note title and content.
3. Use Button for the save action

III. View/Edit Note Activity

1. Similar to Create Note Activity but pre-filled with existing note data.

Additional Requirements

I. App Architecture:

1. For simplicity, use a basic architecture without MVVM for this homework.
2. Create a Note data class.
3. Use basic Kotlin collections to manage the list of notes.

II. Kotlin Basics:

1. Implement basic Kotlin programming concepts such as variables, control structures, functions, and classes.
2. Use Kotlin collections to manage the list of notes.

III. Setup and Environment:

1. Ensure Android Studio is set up to use Kotlin.
2. Target Android 14 (API Level 34) or higher for your application.

Reference no: EM133839179

Questions Cloud

Who needs to sign the form to make it a legal document : When should this form be completed? Who can complete the form? Who needs to sign the form to make it a legal document?
What do you deduce from the correlations : What do you deduce from the correlations? Explain if you believe these to be short or long-term objectives and outcomes.
Research sport entity and their csr efforts : Research a sport entity (team, league, athlete, non-profit, etc.) and their CSR efforts.
Human-created advertising and al-generated content : What is a key difference between human-created advertising and Al-generated content? Al is always more creative Humans can consider context
Develop ui components using composable functions : COMP 304- Develop UI components using composable functions, previews and modifiers. Design complex UI layouts using Column, Row, Box and List in Jetpack Compose
Entrepreneurs to obtain credit and capital : Which rights are necessary for entrepreneurs to obtain credit and capital?
Under what circumstances whistleblowing is justified : Should you blow the whistle? Define whistleblowing. Describe the motives whistle-blowers and under what circumstances whistleblowing is justified?
Does it compete on price-quality-service or innovation : Does it compete on price, quality, service, or innovation? How does the company communicate these competitive advantages to customers?
Explain the ethical implications of abandonment : NU506M2- Write an introduction on abandonment and the role of the nurse. Explain the ethical implications of abandonment.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd