Skip to content

Commit

Permalink
Searchview is now filtering movie list when user input text but cappe…
Browse files Browse the repository at this point in the history
…d to 500 milliseconds
  • Loading branch information
rijogeorge7 committed Jun 8, 2018
1 parent c0fee61 commit e4cae87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dependencies {
implementation 'io.reactivex.rxjava2:rxjava:2.1.2'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'

// Rx View Binding
//RX View Binding
implementation 'com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.1.1'

// Network
Expand Down Expand Up @@ -113,4 +113,4 @@ dependencies {
}
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test:rules:1.0.1'
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
import com.esoxjem.movieguide.details.MovieDetailsFragment;
import com.esoxjem.movieguide.Movie;
import com.esoxjem.movieguide.util.SoftKeyboardUtils;

import com.esoxjem.movieguide.util.EspressoIdlingResource;
import com.jakewharton.rxbinding2.support.v7.widget.RxSearchView;

import java.util.concurrent.TimeUnit;


public class MoviesListingActivity extends AppCompatActivity implements MoviesListingFragment.Callback {
public static final String DETAILS_FRAGMENT = "DetailsFragment";
private boolean twoPaneMode;
Expand Down

0 comments on commit e4cae87

Please sign in to comment.