Skip to content
This repository was archived by the owner on Sep 19, 2019. It is now read-only.

Improve home screen UI#165

Merged
farbodsz merged 8 commits intomasterfrom
home-ui
Mar 20, 2017
Merged

Improve home screen UI#165
farbodsz merged 8 commits intomasterfrom
home-ui

Conversation

@farbodsz
Copy link
Owner

@farbodsz farbodsz commented Mar 20, 2017

Resolves #102

The layout is much better designed now, where MainActivity shows two tabs: 'Today' and 'Upcoming'. Only the code for the 'Today' tab has been added up to this point.

Note the SectionUi class - which contains a Builder used to help generate sections of the UI dynamically.

In this commit, we've also deleted a lot of useless classes: adapter classes and all 'card' classes for the previous home screen.

We've also implemented Comparable in a number of framework model classes, defining the natural sorting order of these objects.
# Conflicts:
#	app/src/main/java/com/satsumasoftware/timetable/framework/Assignment.kt
#	app/src/main/java/com/satsumasoftware/timetable/framework/ClassDetail.kt
#	app/src/main/java/com/satsumasoftware/timetable/framework/ClassTime.kt
#	app/src/main/java/com/satsumasoftware/timetable/framework/Exam.kt
#	app/src/main/java/com/satsumasoftware/timetable/ui/MainActivity.java
#	app/src/main/java/com/satsumasoftware/timetable/ui/adapter/HomeExamsAdapter.java
@farbodsz farbodsz added this to the Version 1.0 release milestone Mar 20, 2017
@farbodsz farbodsz self-assigned this Mar 20, 2017
@farbodsz farbodsz merged commit bc5de7b into master Mar 20, 2017
@farbodsz farbodsz deleted the home-ui branch March 20, 2017 22:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant