Skip to content

Design summary

Mirhady A. Dorodjatun edited this page Mar 6, 2020 · 2 revisions

Mainly, our project contains three parts, namely activity, tools, data. 1

We implemented some design patterns in the project, for example Singleton Pattern. 2

Activity

1.1 MainActivity

3

1.2 FavoriteActivity

4

1.3 WebViewActivity

5

1.4 AddSiteShowActivity

6

1.5 RSSFeedShowActivity

7

Tools

2.1 DataTimeAdapter

Adjust the format of time

2.2 FavouritesAdapter

Set a style for Favouties screen shown by favourites_layout. It is a bridge between UI and data

2.3 FunctionContainer

Save some general functions

2.4 RSSFeedParser

Parser information from xml url

2.5 SlideLayout

Set a self-defined slideLayout style for list view

2.6 SortAndFilterAdapter

Contains all the methods of sort, search and filter

Data

3.1. My Application

Save all the global variables and in the whole android application

3.2. RSSElement

A self-defined class representing RSS elements in the real world. It helps to save and get information