px-amaac / kzfr Goto Github PK
View Code? Open in Web Editor NEWKZFR Radio Streaming App
KZFR Radio Streaming App
When there is not a description available for the program the description view is supposed to have the KZFR info as its text. Currently the blank description is overwriting the default one.
Currently the program image looks good but the rest of the single program view looks pretty bad. It is missing airtimes and hosts information.
Start implementation of the programs view by adding a recycler view to the activity and linking the menu to the proper activity. Use the same layout as the day fragment in the schedule view pager.
Add the api call to the hosts activity. Do nothing with the data but be sure it is passed correctly.
The Schedule RecyclerView was added but it does not work. It needs an adapter, view, and some data to work with.
There is no feedback for the user when the media player is buffering the incoming data. Add a small UI change to reflect this state of media player.
The collapsing toolbar view is taking up all the space in landscape mode so a user is unable to collapse it because they cannot scroll the image.
The programs view will surly need images to go with the programs name time and description. Add picasso implementation to load the programs image the same way the day fragment is isplayed.
The media player notification does not go away despite using stopForeground(true)
This is because the notification was built with setOngoing(true)
Need to utilize the ACTION_CLOSE intent action to signal the media player to close if the app is pausing.
The current program view is using a scrollable layout. I have been playing with the recycler view to display different layouts. I am replacing the scrollable layout with a recyclerview that displays different views based on its data.
After the Hosts api call fill the rows with the correct data.
The design that I came up with includes the collapsing toolbar layout. Unfortunately I could not get it to work with the current configuration of coordinator layout and toolbar in the main activity and the content being inflated from the children. Use picasso to load the image.
The program image on the Schedule View is not uniform. When the image are loaded in they make the views snap to size. Causing the list experience to be jumpy. They should keep to a width and height of 96dp.
Fill the views of each program with the data from the api call. Use the same layout as the day fragment.
When the program view is displaying the current program there should be an up next button at the end of the layout that navigates to another program activity.
List view displaying a list of hosts and a description.
Notification that allows user to play and pause the streaming radio. Needs a wake lock to prevent the operating system from stopping music playback when phone is inactive.
The schedule will be a viewpager with each page representing a single day of the week. The day fragment will be a list view with masic data about the programs on each day. Create the fragment for the day view.
There needs to be a program view that can display any program that is clicked on in any activity.
Program view should be simple implemented on cardview in the material style.
A list view displaying the different programs and an image/description. Also display time of program.
Add now playing ui to the media player bar. Include the title and image if possible.
The HostsActivity is not displaying the programs of each host and some of the display names are empty. Need to add a fallback to use the username if display name is not available.
Schedule view needs Images to go with each host. implement Picasso for the schedule view.
when the notification is clicked the main activity should be launched.
The Hosts activity will need a Recycler view to display the hosts. Add a recycler view to the Hosts activity with a dummy layout for the rows.
Simple task to use Butterknife in the main activity.
Create a schedule activity.
The schedule api call seems to be the most extensive. Create models for the different objects returned in the schedule api call.
Implement the schedule API call to fill the day fragments views.
Nothing happens when clicking on another program from the program view. This suggests that there is another hook that I need to use to refresh the data when it is the current activity. onHandleIntent perhaps?
Since the schedule is really a view pager create the view pager and use the day fragments in the pager.
The program view will be used for each item in the day list. The program view should display the program time as well as the program title small description and program image.
Need to make an api call work to make sure that things are working right. Execute a schedule api call using retrofit and gson to parse the data into the 7 day objects.
On screen rotation the schedule activity is not keeping data. It is making a new api request every time the activity is set up.
The now playing api call needs to be made by the main activity so the media bar has information about what is currently playing.
The single program view should be able to display the currently playing and next broadcast. Implement the now playing activity by utilizing the single program view.
When using the notification to play and pause the media player the app now playing bar can become out of sync with the actual player. Need to register main activity for an intent to be sent by the service when its state changes.
There is no formatting for program times. Utilize the code from the old app to implement the correct times.
Use Case: clicking on any program will display that program in the program activity. After clicking on another program it will show up as well. Upon doing this three times the data does not get through. Need to debug this problem.
Since starting this app the third party library butterknife has been updated. Modify the code to reflect the updated library.
Create a main menu to interact with the application. Main menu should contain buttons for now playing, schedule, programs, hosts, and website.
Needs to match the website.
Main menu will need a spot for a media player fragment.
I have noticed type mismatches in the data returned from the api/schedule endpoint. If there is an image for a program then an Image object is returned for the "Image" key. If there is not an image available then the "Image" key returns a boolean false value. The endpoint will eventually return null for this situation but currently it returns a boolean.
Service to stream radio from. Must include play and pause actions.
The objects will be saved in instance states and therefore needs to implement the parcelable interface.
When the screen is rotated the media player bar gets out of sync with the media player service. Make sure the two get refreshed in onResume.
Both retrofit and picasso are needed in this project. Set them up.
Add the API logic to the Programs activity. Implement the api call but do nothing with the data.
The on click button for a program view in the day list or the programs list should lead to a single program view. Make the item clicks lead to a program activity.
The single program view needs to accept a single program. Eventually there will be a second program that this view checks for and it will display the next button to provide an activity to the next program.
It is easy to implement and easy to use. Set it up before there are more views to convert.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.