Skip to content

Conversation

@pantos27
Copy link

avoid casting and use the RepoViewHolder class directly on the adapter class

avoid casting and use the RepoViewHolder class directly on the adapter class
@florina-muntenescu florina-muntenescu merged commit d9af927 into android:master Jan 6, 2021
florina-muntenescu pushed a commit that referenced this pull request Feb 26, 2021
avoid casting and use the RepoViewHolder class directly on the adapter class
florina-muntenescu added a commit that referenced this pull request Feb 26, 2021
avoid casting and use the RepoViewHolder class directly on the adapter class

Co-authored-by: Amir A <mcattar@gmail.com>
tunjid pushed a commit that referenced this pull request Jul 30, 2021
Upgrading dependencies and moving lambda code to blocks

Migrating to Jetpack

Bumping versions

Use the stable v3.6.3 of Android Gradle Plugin instead of an alpha version

Step 0 - An infinite scrolling list, using Flow and LiveData (#45)

* Having the list backed by network only

* Showing an infinite scrolling list, from network, with Flow

* Using more KTX functionality and making the error an exception instead of string

* Adding ViewBinding

* Making the UI more material

* Removing searchRepos helper method

* Making the project compatible with Android Studio 3.6

* Step 0 - An infinite scrolling list, using Flow and LiveData

* Addressing review comments:
* Increasing build versions
* Formatting
* Added RequiresOptIn flag for coroutines and removing FlowPreview annotations

* [Bug fix] Don't increment the last requested page if the request failed

* Avoid duplicating data

* Libraries bump and removing Room annotations from Repo

Adding core-ktx as a dependency (#65)

Bumping library versions (#89)

Updating to alpha07 (#116)

Bumping paging to alpha08 and other small deps changes (#125)

Bump to paging:3.0.0-alpha09 (#129)

Bump dependencies to match paging alpha11 (#139)

Use RepoViewHolder instead of ViewHolder (#26)

avoid casting and use the RepoViewHolder class directly on the adapter class

Use RepoViewHolder instead of ViewHolder (#26) (#153)

avoid casting and use the RepoViewHolder class directly on the adapter class

Co-authored-by: Amir A <mcattar@gmail.com>

Updating dependencies (#166)

* Updating dependencies

* Updating Paging 3.0 to stable

Drop page size from 50 to 30

Use AbstractSavedStateViewModelFactory, pass every method what it needs directly

Expose ViewModel as a singular input output interface

More descriptive comments, updated code style

PR feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants