Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByronNote/MinimalistWeather
/ functions
Functions
795 in github.com/ByronNote/MinimalistWeather
⨍
Functions
795
◇
Types & classes
124
↓ 1 callers
Method
getTemp5
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:175
↓ 1 callers
Method
getTemp6
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:183
↓ 1 callers
Method
getTempMax
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiToday.java:72
↓ 1 callers
Method
getTempMax
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:120
↓ 1 callers
Method
getTempMin
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiToday.java:80
↓ 1 callers
Method
getTempMin
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:128
↓ 1 callers
Method
getTemp_range
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/know/KnowWeather.java:298
↓ 1 callers
Method
getTemperature
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/envicloud/EnvironmentCloudWeatherLive.java:97
↓ 1 callers
Method
getUpdateTime
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/envicloud/EnvironmentCloudWeatherLive.java:81
↓ 1 callers
Method
getValue
()
app/src/main/java/com/baronzhang/android/weather/data/WeatherDetail.java:35
↓ 1 callers
Method
getVis
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/envicloud/EnvironmentCloudForecast.java:433
↓ 1 callers
Method
getVisibility
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:192
↓ 1 callers
Method
getWeather
(Context context, String cityId, WeatherDao weatherDao, boolean refreshNow)
app/src/main/java/com/baronzhang/android/weather/data/repository/WeatherDataRepository.java:30
↓ 1 callers
Method
getWeatherForecast
获取指定城市7日天气预报 <p> API地址:http://service.envicloud.cn:8082/v2/weatherforecast/YMFYB256AGFUZZE0ODQ3MZM1MZE2NTU=/101020100 @param cityId 城市id @return Obse
app/src/main/java/com/baronzhang/android/weather/data/http/service/EnvironmentCloudWeatherService.java:36
↓ 1 callers
Method
getWeatherForecasts
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/adapter/WeatherAdapter.java:25
↓ 1 callers
Method
getWeatherLive
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/adapter/WeatherAdapter.java:23
↓ 1 callers
Method
getWind1
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:295
↓ 1 callers
Method
getWind2
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:303
↓ 1 callers
Method
getWind3
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:311
↓ 1 callers
Method
getWind4
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:319
↓ 1 callers
Method
getWind5
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:327
↓ 1 callers
Method
getWind6
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiForecast.java:335
↓ 1 callers
Method
getWindDirect
()
app/src/main/java/com/baronzhang/android/weather/data/http/entity/envicloud/EnvironmentCloudWeatherLive.java:137
↓ 1 callers
Method
getWindPower
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherLive.java:122
↓ 1 callers
Method
gotoMainPage
()
app/src/main/java/com/baronzhang/android/weather/WelcomeActivity.java:37
↓ 1 callers
Method
importCityDB
导入城市数据库
app/src/main/java/com/baronzhang/android/weather/data/db/CityDatabaseHelper.java:84
↓ 1 callers
Method
init
控件初始化,构造函数调用
widget/src/main/java/com/baronzhang/android/widget/IndicatorView.java:58
↓ 1 callers
Method
init
(ApiConfiguration apiConfiguration)
app/src/main/java/com/baronzhang/android/weather/data/http/ApiClient.java:25
↓ 1 callers
Method
init
(Context context)
app/src/main/java/com/baronzhang/android/weather/util/StethoHelper.java:13
↓ 1 callers
Method
initAppData
初始化应用数据
app/src/main/java/com/baronzhang/android/weather/WelcomeActivity.java:48
↓ 1 callers
Method
initAttrs
获取自定义attrs
widget/src/main/java/com/baronzhang/android/widget/IndicatorView.java:91
↓ 1 callers
Method
initAttrs
(Context context, @Nullable AttributeSet attrs)
widget/src/main/java/com/baronzhang/android/widget/TitleView.java:39
↓ 1 callers
Method
initPaint
初始化paint
widget/src/main/java/com/baronzhang/android/widget/IndicatorView.java:80
↓ 1 callers
Method
initView
()
widget/src/main/java/com/baronzhang/android/widget/TitleView.java:53
↓ 1 callers
Method
initialize
(final Builder builder)
app/src/main/java/com/baronzhang/android/weather/data/http/configuration/ApiConfiguration.java:22
↓ 1 callers
Method
insertOrUpdateWeather
(Weather weather)
app/src/main/java/com/baronzhang/android/weather/data/db/dao/WeatherDao.java:61
↓ 1 callers
Method
insertWeather
(Weather weather)
app/src/main/java/com/baronzhang/android/weather/data/db/dao/WeatherDao.java:105
↓ 1 callers
Method
isNetworkConnected
判断网络连接是否可用
library/src/main/java/com/baronzhang/android/library/util/NetworkUtils.java:15
↓ 1 callers
Method
isNow
判断时间是不是今天 @return 是返回true,不是返回false
library/src/main/java/com/baronzhang/android/library/util/DateConvertUtils.java:101
↓ 1 callers
Method
loadCities
()
app/src/main/java/com/baronzhang/android/weather/feature/selectcity/SelectCityPresenter.java:43
↓ 1 callers
Method
loadDefaults
()
app/src/main/java/com/baronzhang/android/weather/data/preference/PreferenceHelper.java:33
↓ 1 callers
Method
loadSavedCities
()
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/DrawerMenuPresenter.java:62
↓ 1 callers
Method
loadSavedCities
()
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/DrawerContract.java:23
↓ 1 callers
Method
loadWeather
(String cityId, boolean refreshNow)
app/src/main/java/com/baronzhang/android/weather/feature/home/HomePagePresenter.java:53
↓ 1 callers
Method
newInstance
()
app/src/main/java/com/baronzhang/android/weather/feature/home/HomePageFragment.java:79
↓ 1 callers
Method
newInstance
(int columnCount)
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/DrawerMenuFragment.java:54
↓ 1 callers
Method
newInstance
()
app/src/main/java/com/baronzhang/android/weather/feature/selectcity/SelectCityFragment.java:44
↓ 1 callers
Method
normalSchedulersTransformer
在RxJava的使用过程中我们会频繁的调用subscribeOn()和observeOn(),通过Transformer结合 Observable.compose()我们可以复用这些代码 @return Transformer
library/src/main/java/com/baronzhang/android/library/util/RxSchedulerUtils.java:21
↓ 1 callers
Method
onChange
(int currentIndicatorValue, String stateDescription, int indicatorTextColor)
widget/src/main/java/com/baronzhang/android/widget/IndicatorValueChangeListener.java:8
↓ 1 callers
Method
onConfigurationChanged
(WeatherSettings pref, Object newValue)
app/src/main/java/com/baronzhang/android/weather/data/preference/ConfigurationListener.java:20
↓ 1 callers
Method
onCreate
(SQLiteDatabase database, ConnectionSource connectionSource)
app/src/main/java/com/baronzhang/android/weather/data/db/WeatherDatabaseHelper.java:37
↓ 1 callers
Method
onDeleteClick
(String cityId)
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/CityManagerAdapter.java:87
↓ 1 callers
Method
onItemClick
(AdapterView<?> parent, View view, int position, long id)
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/DrawerMenuFragment.java:99
↓ 1 callers
Method
onSelect
(String cityId)
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/DrawerMenuFragment.java:151
↓ 1 callers
Method
queryCityList
查询表中的所有城市 @return 城市列表数据
app/src/main/java/com/baronzhang/android/weather/data/db/dao/CityDao.java:40
↓ 1 callers
Method
queryWeather
(String cityId)
app/src/main/java/com/baronzhang/android/weather/data/db/dao/WeatherDao.java:47
↓ 1 callers
Method
saveCurrentCityToPreference
(String cityId)
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/DrawerContract.java:27
↓ 1 callers
Method
setAirPressure
(String airPressure)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherLive.java:150
↓ 1 callers
Method
setCityId
(String cityId)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/Weather.java:46
↓ 1 callers
Method
setCityName
(String cityName)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/Weather.java:54
↓ 1 callers
Method
setCityNameEn
(String cityNameEn)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/Weather.java:62
↓ 1 callers
Method
setCo
(String co)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:129
↓ 1 callers
Method
setFeelsTemperature
(String feelsTemperature)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherLive.java:142
↓ 1 callers
Method
setHumidity
(String humidity)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:204
↓ 1 callers
Method
setIndicatorValue
(int indicatorValue)
widget/src/main/java/com/baronzhang/android/widget/IndicatorView.java:228
↓ 1 callers
Method
setIndicatorValueChangeListener
(IndicatorValueChangeListener indicatorValueChangeListener)
widget/src/main/java/com/baronzhang/android/widget/IndicatorView.java:224
↓ 1 callers
Method
setLevel
(String level)
app/src/main/java/com/baronzhang/android/weather/data/http/entity/know/KnowWeather.java:362
↓ 1 callers
Method
setMoonrise
(String moonrise)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:244
↓ 1 callers
Method
setMoonset
(String moonset)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:252
↓ 1 callers
Method
setNo2
(String no2)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:145
↓ 1 callers
Method
setO3
(String o3)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:153
↓ 1 callers
Method
setPop
(String pop)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:180
↓ 1 callers
Method
setPrecipitation
(String precipitation)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:220
↓ 1 callers
Method
setPressure
(String pressure)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:212
↓ 1 callers
Method
setPrimary
(String primary)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:161
↓ 1 callers
Method
setPublishTime
(String publishTime)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:97
↓ 1 callers
Method
setRain
(String rain)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherLive.java:134
↓ 1 callers
Method
setSo2
(String so2)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:137
↓ 1 callers
Method
setSunrise
(String sunrise)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:228
↓ 1 callers
Method
setSunset
(String sunset)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:236
↓ 1 callers
Method
setTime
(String time)
app/src/main/java/com/baronzhang/android/weather/data/http/entity/mi/MiRealTime.java:51
↓ 1 callers
Method
setUv
(String uv)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:188
↓ 1 callers
Method
setVisibility
(String visibility)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:196
↓ 1 callers
Method
setWeather
(String weather)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:140
↓ 1 callers
Method
setWeatherDay
(String weatherDay)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:148
↓ 1 callers
Method
setWeatherNight
(String weatherNight)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherForecast.java:156
↓ 1 callers
Method
setWindPower
(String windPower)
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/WeatherLive.java:126
↓ 1 callers
Method
splitTemperature
拆分气温 @param temperatureRange 如:-6~2° @return {-6, 2}
app/src/main/java/com/baronzhang/android/weather/data/db/entities/adapter/KnowWeatherAdapter.java:113
↓ 1 callers
Method
statusBarLightMode
(Activity activity)
library/src/main/java/com/baronzhang/android/library/util/system/StatusBarHelper.java:28
↓ 1 callers
Method
updatePageTitle
(Weather weather)
app/src/main/java/com/baronzhang/android/weather/feature/home/HomePageFragment.java:210
↓ 1 callers
Method
updateWeather
(Weather weather)
app/src/main/java/com/baronzhang/android/weather/data/db/dao/WeatherDao.java:118
Method
AirQualityLive
()
app/src/main/java/com/baronzhang/android/weather/data/db/entities/minimalist/AirQualityLive.java:58
Method
ApiConfiguration
(Builder builder)
app/src/main/java/com/baronzhang/android/weather/data/http/configuration/ApiConfiguration.java:14
Method
ApplicationModule
(Context context)
app/src/main/java/com/baronzhang/android/weather/di/module/ApplicationModule.java:21
Method
Builder
()
app/src/main/java/com/baronzhang/android/weather/data/http/configuration/ApiConfiguration.java:34
Method
CityDao
(Context context)
app/src/main/java/com/baronzhang/android/weather/data/db/dao/CityDao.java:28
Method
CityDatabaseHelper
(Context context)
app/src/main/java/com/baronzhang/android/weather/data/db/CityDatabaseHelper.java:33
Method
CityListAdapter
(List<City> cities)
app/src/main/java/com/baronzhang/android/weather/feature/selectcity/CityListAdapter.java:33
Method
CityManagerAdapter
(List<Weather> weatherList)
app/src/main/java/com/baronzhang/android/weather/feature/home/drawer/CityManagerAdapter.java:31
Method
CloudWeatherAdapter
(EnvironmentCloudWeatherLive cloudWeatherLive, EnvironmentCloudForecast cloudForecast, EnvironmentCloudCityAir
app/src/main/java/com/baronzhang/android/weather/data/db/entities/adapter/CloudWeatherAdapter.java:26
← previous
next →
201–300 of 795, ranked by callers