MCPcopy Create free account

hub / github.com/BrianSpace/Android-App-Architecture-MVVM-Databinding / functions

Functions460 in github.com/BrianSpace/Android-App-Architecture-MVVM-Databinding

↓ 24 callersMethodgetId
Get entity ID.
lib-common/src/main/java/com/github/brianspace/common/objstore/IEntity.java:27
↓ 14 callersMethodgetSimilarMovies
Get the list of similar movies. @param id the ID of the movie to request for similar movies. @param page the page number. @return RxJava {@code Singl
app/src/main/java/com/github/brianspace/moviebrowser/repository/web/IMovieDbApi.java:66
↓ 13 callersMethodclear
()
app/src/main/java/com/github/brianspace/moviebrowser/models/FavoriteMovieCollection.java:190
↓ 12 callersMethodgetConfigItem
Get a configuration item by the specified key. @param key the key used to retrieve the config item. @return config string corresponding to the key.
app/src/main/java/com/github/brianspace/moviebrowser/repository/IConfigStore.java:50
↓ 10 callersMethodbuild
Builder for the component. @return the component instance.
app/src/main/java/com/github/brianspace/moviebrowser/di/components/AppComponent.java:57
↓ 10 callersMethodgetTitle
Get movie title. @return title
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:173
↓ 9 callersMethodgetMovies
Get the list of movie view models. @return list of movie view models ready for data binding.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:43
↓ 9 callersMethodnotNull
Assert if a value is null, and returns the value if it is not null. Use java.util.Objects.requireNonNull() instead if your min API level is 19, or Gua
lib-common/src/main/java/com/github/brianspace/common/util/Assertion.java:43
↓ 9 callersMethodnotifyObservers
If {@code hasChanged()} returns {@code true}, calls the {@code onUpdate()} method for every observer in the list of observers using null as the argume
lib-common/src/main/java/com/github/brianspace/common/observable/ObjectObservableBase.java:33
↓ 9 callersMethodsetAdapter
(@Nullable final Adapter adapter)
lib-widgets/src/main/java/com/github/brianspace/widgets/DynamicGridView.java:226
↓ 9 callersMethodsetChanged
Sets the changed flag for this {@code Observable}. After calling {@code setChanged()}, {@code hasChanged()} will return {@code true}.
lib-common/src/main/java/com/github/brianspace/common/observable/WeakObservable.java:107
↓ 9 callersMethodtoString
Return the JSON representation of this object.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/MovieData.java:152
↓ 8 callersMethodgetPosterPath
Get the relative path (in URL) of the movie poster, without leading backslash. @return path of the movie poster
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:200
↓ 7 callersMethodaddObserver
Adds the specified observer to the list of observers. If it is already registered, it is not added a second time. Note: make sure this is not the only
lib-common/src/main/java/com/github/brianspace/common/observable/IObservable.java:34
↓ 7 callersMethodload
Load data. @return RxJava {@code Completable} result.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:50
↓ 7 callersMethodonUpdate
When {@code IObservable} object changes, {@code WeakObservable#notifyObservers} will be called and this method of each observer will be called. @para
lib-common/src/main/java/com/github/brianspace/common/observable/IObserver.java:34
↓ 6 callersMethodapply
Apply some calculation to the input value and return some other value. @param t the input value @return the output value
lib-common/src/main/java/com/github/brianspace/common/util/Function.java:35
↓ 6 callersMethodcreate
Create a new instance for {@link IMovieDbApi IMovieDbApi} interface. The requests will run in OkHttp's internal thread pool.
app/src/main/java/com/github/brianspace/moviebrowser/repository/web/MovieDbAdapterProvider.java:119
↓ 6 callersMethodgetMovieNowPlaying
Get the list of now playing movies. @param page the page number. @return RxJava {@code Single} for the page of movie list.
app/src/main/java/com/github/brianspace/moviebrowser/repository/web/IMovieDbApi.java:47
↓ 6 callersMethodisLoaded
Get if data is already loaded or not.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:32
↓ 5 callersMethodaddFavoriteMovie
Add a favorite movie. @param movie the data layer movie object. @return RxJava {@code Single} for the boolean result (false if failed to add).
app/src/main/java/com/github/brianspace/moviebrowser/repository/IFavoriteStore.java:43
↓ 5 callersMethodgetConcatenatedString
(final Iterable<String> sizeStrings)
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:259
↓ 5 callersMethodgetPage
Get the page number in the current page.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/PagingEnvelope.java:49
↓ 5 callersMethodhasNexPage
Check if the list has next page or not. @return true if there is still a next page available, otherwise false.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:64
↓ 5 callersMethodisLoading
Get loading state.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:37
↓ 4 callersMethodcreateMovieViewModel
Create a new movie view model from the supplied model. @param movie Model layer movie object. @return the corresponding movie view model.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IViewModelFactory.java:34
↓ 4 callersMethodfindMovieById
Find movie model object by ID. @param id the movie ID @return the movie model matching the ID, or null if not found.
app/src/main/java/com/github/brianspace/moviebrowser/models/IEntityStore.java:44
↓ 4 callersMethodgetDao
Get the DAO object for the database.
app/src/main/java/com/github/brianspace/moviebrowser/repository/local/database/FavoriteDatabase.java:31
↓ 4 callersMethodgetMessage
Get notification message.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/MovieViewModel.java:149
↓ 4 callersMethodgetMovies
()
app/src/main/java/com/github/brianspace/moviebrowser/models/FavoriteMovieCollection.java:93
↓ 4 callersMethodgetResults
Get the list of items in the current page.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/PagingEnvelope.java:56
↓ 4 callersMethodgetWidth
Get corresponding image width, Integer.MAX_VALUE for "original" size.
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:152
↓ 4 callersMethodisFavorite
Whether the movie is a favorite or not. @return true if the movie is a favorite, otherwise false.
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:259
↓ 4 callersMethodsetFavorite
(final boolean value)
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:280
↓ 4 callersMethodupdateItemDecoration
()
lib-widgets/src/main/java/com/github/brianspace/widgets/DynamicGridView.java:177
↓ 3 callersMethodclearData
Clear all favorite movies. @return true if the data is cleared (false if failed to clear).
app/src/main/java/com/github/brianspace/moviebrowser/repository/IFavoriteStore.java:35
↓ 3 callersMethodcreateFromImageSizes
(@NonNull final String imageBaseUrl, @NonNull final Iterable<String> sizeStrings)
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:201
↓ 3 callersMethodgetAllFavoriteMovies
Get all favorite movies. @return RxJava {@code Single} for the list of movies.
app/src/main/java/com/github/brianspace/moviebrowser/repository/IFavoriteStore.java:58
↓ 3 callersMethodgetConfiguration
Get configuration (image base URL, image size, etc.). @return RxJava {@code Single} for the configuration.
app/src/main/java/com/github/brianspace/moviebrowser/repository/web/IMovieDbApi.java:38
↓ 3 callersMethodgetDetails
Get extra movie details. @return details
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:217
↓ 3 callersMethodgetImageBaseUrl
(final int width)
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:242
↓ 3 callersMethodgetImageConfig
Get the configuration for images.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/Configuration.java:103
↓ 3 callersMethodgetItemCount
()
lib-databinding/src/main/java/com/github/brianspace/databinding/adapter/RecyclerViewDatabindingAdapter.java:228
↓ 3 callersMethodgetItemLayoutPosition
Get the layout position of the item. Headered list should override this. @param position the position of item in the item list. @return the correspon
lib-databinding/src/main/java/com/github/brianspace/databinding/adapter/RecyclerViewDatabindingAdapter.java:257
↓ 3 callersMethodgetMovieDetails
Get extra details for a movie. @param id the ID of the movie to request for details. @return RxJava {@code Single} for the details data.
app/src/main/java/com/github/brianspace/moviebrowser/repository/web/IMovieDbApi.java:56
↓ 3 callersMethodgetPosterBaseUrl
(final int width)
app/src/main/java/com/github/brianspace/moviebrowser/models/TmdbConfig.java:157
↓ 3 callersMethodgetPosterUrl
Get the URL of the movie poster image.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/MovieViewModel.java:112
↓ 3 callersMethodgetTotalPages
Get the total number of pages.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/PagingEnvelope.java:35
↓ 3 callersMethodinit
(final Context context, @Nullable final AttributeSet attrs, final int defStyle)
lib-widgets/src/main/java/com/github/brianspace/widgets/DynamicGridView.java:263
↓ 3 callersMethodinit
(final Context context, final AttributeSet attrs, final int defStyle)
lib-widgets/src/main/java/com/github/brianspace/widgets/FixedAspectRatioImage.java:79
↓ 3 callersMethodinit
(final AttributeSet attrs, final int defStyleAttr)
app/src/main/java/com/github/brianspace/moviebrowser/ui/view/MovieListView.java:237
↓ 3 callersMethodloadFromConfigStore
(@NonNull final String imageBaseUrl, @NonNull final IConfigStore configStore, @NonNull final Strin
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:187
↓ 3 callersMethodloadNextPage
Load the next page. @return RxJava {@code Completable} result.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:70
↓ 3 callersMethodsaveConfigItem
Save config. @param key config key. @param value config value.
app/src/main/java/com/github/brianspace/moviebrowser/repository/IConfigStore.java:67
↓ 2 callersMethodbuildFavoriteDatabase
()
app/src/main/java/com/github/brianspace/moviebrowser/repository/local/FavoriteStore.java:144
↓ 2 callersMethodclearData
(final boolean clearFavorites)
app/src/main/java/com/github/brianspace/moviebrowser/ui/fragment/SettingsFragment.java:101
↓ 2 callersMethodfindModelWithSameId
(@NonNull final Movie movie)
app/src/main/java/com/github/brianspace/moviebrowser/models/FavoriteMovieCollection.java:204
↓ 2 callersMethodforeachObserver
Calls the specified action for each observer. @param action action to be called.
lib-common/src/main/java/com/github/brianspace/common/observable/WeakObservable.java:135
↓ 2 callersMethodgetBackdropPath
Get the relative path (in URL) of the movie backdrop, without leading backslash. @return path of the movie backdrop
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:191
↓ 2 callersMethodgetBaseUrl
Get the image base URL, which is used to construct the full URL for an image.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/Configuration.java:48
↓ 2 callersMethodgetBinding
Get the binding.
lib-databinding/src/main/java/com/github/brianspace/databinding/adapter/RecyclerViewDatabindingAdapter.java:160
↓ 2 callersMethodgetFirstPage
Get the first page of movie list. Subclass should implement to return the first page of movies. @return RxJava Observable of a page of movie data lis
app/src/main/java/com/github/brianspace/moviebrowser/models/MovieCollection.java:248
↓ 2 callersMethodgetId
Get movie ID.
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:165
↓ 2 callersMethodgetItemId
(final int position)
app/src/main/java/com/github/brianspace/moviebrowser/ui/activity/MovieDetailsActivity.java:100
↓ 2 callersMethodgetItemViewType
(final int position)
lib-databinding/src/main/java/com/github/brianspace/databinding/adapter/HeaderedRecyclerViewDatabindingAdapter.java:117
↓ 2 callersMethodgetMovieData
Get data layer object. @return movie data
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:271
↓ 2 callersMethodgetMovieModel
Find or create movie model from the data layer movie object. @param movieData data layer movie object @return model matching the data layer movie obje
app/src/main/java/com/github/brianspace/moviebrowser/models/IEntityStore.java:36
↓ 2 callersMethodgetMovies
()
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/MoviesViewModel.java:170
↓ 2 callersMethodgetPosterBaseUrl
Get the base URL of the poster images for a specified width.
app/src/main/java/com/github/brianspace/moviebrowser/models/IImageConfig.java:33
↓ 2 callersMethodgetSimilarMovies
Get a list of similar movies. @return similar movies list
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:226
↓ 2 callersMethodgetTitle
Get the title of the movie.
app/src/main/java/com/github/brianspace/moviebrowser/repository/data/MovieData.java:116
↓ 2 callersMethodgetValidImagePath
(final String path)
app/src/main/java/com/github/brianspace/moviebrowser/models/Movie.java:292
↓ 2 callersMethodinit
Initialize. @param context Context.
app/src/main/java/com/github/brianspace/moviebrowser/repository/util/FileUtil.java:66
↓ 2 callersMethodisFavorite
Get if the movie is favorite or not.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/MovieViewModel.java:141
↓ 2 callersMethodloadFromConfigStore
()
app/src/main/java/com/github/brianspace/moviebrowser/models/TmdbConfig.java:105
↓ 2 callersMethodloadImage
Load image from the specified URL into the ImageView. @param view the target ImageView @param url the URL of the image to be loaded. Null to clear
lib-widgets/src/main/java/com/github/brianspace/utils/ImageLoader.java:158
↓ 2 callersMethodloadImage
Binding "imageUrl" to load an image. @param view the ImageView @param url the URL of the image to be loaded
app/src/main/java/com/github/brianspace/moviebrowser/ui/databinding/DataBindingAdapter.java:76
↓ 2 callersMethodonItemChanged
(final ObservableList<ItemTypeT> items)
lib-databinding/src/main/java/com/github/brianspace/databinding/adapter/RecyclerViewDatabindingAdapter.java:125
↓ 2 callersMethodrefresh
Refresh data. @return RxJava {@code Completable} result.
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IMovieList.java:57
↓ 2 callersMethodsameAs
Compare ImageSizesConfig instances. @param other a ImageSizesConfig instance. @return True if the input is not null and has the same values, otherwis
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:232
↓ 2 callersMethodsaveToConfigStore
(@NonNull final ImageSizesConfig config, @NonNull final IConfigStore configStore, @NonNull final S
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:213
↓ 2 callersMethodsetBinding
Set the binding.
lib-databinding/src/main/java/com/github/brianspace/databinding/adapter/RecyclerViewDatabindingAdapter.java:167
↓ 2 callersMethodsetMovieFields
(final MovieDetailsData movie, final int id, final String title)
app/src/androidTest/java/com/github/brianspace/moviebrowser/repository/local/DatabaseTest.java:106
↓ 2 callersMethodsetMovieList
Set movie list. @param movieList Movie list. Set to null to clear the bindings and references.
app/src/main/java/com/github/brianspace/moviebrowser/ui/view/MovieListView.java:212
↓ 2 callersMethodstopLoadingAnimation
()
app/src/main/java/com/github/brianspace/moviebrowser/ui/view/MovieListView.java:264
↓ 2 callersMethodtestMovieList
(final IMovieCollection movies)
app/src/test/java/com/github/brianspace/moviebrowser/models/ModelsTest.java:144
↓ 2 callersMethodupdateBaseUrl
Update base URL. @param baseUrl new value for base URL. @param save save flag. True to save to config store.
app/src/main/java/com/github/brianspace/moviebrowser/models/TmdbConfig.java:207
↓ 2 callersMethodverifyMovie1ViewModel
(final MovieViewModel movieViewModel)
app/src/test/java/com/github/brianspace/moviebrowser/viewmodels/ViewModelTest.java:198
↓ 1 callersMethodaddToFavorite
(@NonNull final Movie movie)
app/src/main/java/com/github/brianspace/moviebrowser/models/FavoriteMovieCollection.java:141
↓ 1 callersMethodaddToFavorite
Add the movie to favorites. @param movie the movie model. @return RxJava {@code Single} result.
app/src/main/java/com/github/brianspace/moviebrowser/models/IFavoriteMovieCollection.java:33
↓ 1 callersMethodaddToFavorite
()
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/MovieDetailsViewModel.java:205
↓ 1 callersMethodappModule
Module dependency that need to be created manually and passed in. @param appModule instance of the AppModule. @return the builder instance so that the
app/src/main/java/com/github/brianspace/moviebrowser/di/components/AppComponent.java:64
↓ 1 callersMethodbreakConcatenatedString
(final String concatenated)
app/src/main/java/com/github/brianspace/moviebrowser/models/ImageSizesConfig.java:276
↓ 1 callersMethodbuildUri
(@NonNull final String path, @Nullable final Map<String, String> queries)
app/src/main/java/com/github/brianspace/moviebrowser/ui/nav/NavigationHelper.java:186
↓ 1 callersMethodchangeToLoadingState
(final FloatingActionButton fab)
app/src/main/java/com/github/brianspace/moviebrowser/ui/databinding/DataBindingAdapter.java:166
↓ 1 callersMethodclearCache
Clear the HTTP cache. @return true for success and false for failure.
app/src/main/java/com/github/brianspace/moviebrowser/repository/IMovieDbService.java:36
↓ 1 callersMethodclearChanged
Clears the changed flag for this {@code Observable}. After calling {@code clearChanged()}, {@code hasChanged()} will return {@code false}.
lib-common/src/main/java/com/github/brianspace/common/observable/WeakObservable.java:115
↓ 1 callersMethodcreateMovieDetailsViewModelById
Get a movie details view model by the ID. @param id ID of the movie to request for. @return the corresponding movie details view model, or null if not
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/IViewModelFactory.java:50
↓ 1 callersMethodcreateMovieViewModel
(@NonNull final Movie movie)
app/src/main/java/com/github/brianspace/moviebrowser/viewmodels/ViewModelFactory.java:74
↓ 1 callersMethodcreateOkHttpClient
Create a new instance of {@link okhttp3.OkHttpClient}.
app/src/main/java/com/github/brianspace/moviebrowser/repository/web/MovieDbAdapterProvider.java:94
next →1–100 of 460, ranked by callers