Professional Documents
Culture Documents
Internship
Internship
position with regard to the goal and the necessary steps to achieve it.In my last
internship, I implemented new features in the application using Kotlin, improving
its functionality and user experience by creating and implementing XML layouts and
user-friendly design, which helped to create the app's interface. I also used the
Room database to manage the local database of the application.Utilized flow to
manage the live data and retrofit for effective data retrieval.Moreover, shared
preferences are used to persist simple data.Fixed breakdowns, establishing a
cooperative growth environment.
1. For generating a certificate for a course, I need to check whether the last
assessment was completed or not. So for checking it, I wrote the following code:
"val lastAssessment = courseItem.courseSections.flatMap { it.contentList }.last
{ it is CourseStructure.SectionContent.Assessment }"
It retrieves the last assessment content from a list of sections within a course
item. It does so by flattening the nested structure of sections and then filtering
for items that represent assessments, ultimately selecting the last assessment
content found.