-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple changes as per the commits. (#1174)
* Refining the lRecyclerView in adapter for the null view * Commented out Preference.OnPreferenceClickListener as deprecated Deprecated in API Level 29 & onward: https://developer.android.com/reference/android/preference/Preference.OnPreferenceClickListener Line 157-166 * Using Local Index as a fall back for stations Sort + fall back to local. * Recording status Invoke progress dialogue box for recording, and a alert dismissal state. * Corrected the log option changed in error Earlier had changed Log.d to Log.e in error. Corrected the same. * Lenient in query length * Create ic_expand_more_white_24dp.xml More White * View changes Changes to the view. * Extra space removed * Corrected layout code app:autoSizeMaxTextSize > android:autoSizeMaxTextSize app:autoSizeMinTextSize > android:autoSizeMinTextSize app:autoSizeTextType > android:autoSizeTextType * Countries/Regions * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support * Fix media browser service and enable android auto support Fix media browser service and enable android auto support
- Loading branch information
Showing
22 changed files
with
190 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app/src/main/java/net/programmierecke/radiodroid2/FallbackStationsManager.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package net.programmierecke.radiodroid2 | ||
|
||
import android.content.Context | ||
import net.programmierecke.radiodroid2.station.DataRadioStation | ||
|
||
class FallbackStationsManager(ctx: Context?) : StationSaveManager(ctx) { | ||
override fun Load() { | ||
listStations.clear() | ||
val str = context.resources | ||
.openRawResource(R.raw.fallback_stations) | ||
.bufferedReader() | ||
.use { it.readText() } | ||
val arr = DataRadioStation.DecodeJson(str) | ||
listStations.addAll(arr) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.