List of usage examples for android.view View equals
public boolean equals(Object obj)
From source file:com.github.ppamorim.SlapBarHelperCallback.java
/** * Check if view on focus is the bar/* w ww .ja v a2 s . c o m*/ * * @param child return the view on focus * @param pointerId return the id of view * @return if the child on focus is equals the bar */ @Override public boolean tryCaptureView(View child, int pointerId) { return child.equals(bar); }
From source file:com.lightydev.dk.widget.PagerCursorAdapter.java
@Override public boolean isViewFromObject(View view, Object o) { return view.equals(o); }
From source file:com.serenegiant.aceparrot.ConfigPagerAdapter.java
@Override public boolean isViewFromObject(final View view, final Object object) { return view.equals(object); }
From source file:cm.aptoide.pt.adapters.ViewPagerAdapterScreenshots.java
@Override public boolean isViewFromObject(View arg0, Object arg1) { return arg0.equals(arg1); }
From source file:com.folioreader.view.ConfigViewHelperCallback.java
/** * Check if view on focus is the ConfigView * * @param child return the view on focus * @param pointerId return the id of view * @return if the child on focus is equals the ConfigView *///from ww w. java 2 s. c o m @Override public boolean tryCaptureView(View child, int pointerId) { return child.equals(mConfigView.getContainer()); }
From source file:com.folioreader.view.AudioViewHelperCallback.java
/** * Check if view on focus is the AudioView * * @param child return the view on focus * @param pointerId return the id of view * @return if the child on focus is equals the AudioView */// w ww .j a v a2s. co m @Override public boolean tryCaptureView(View child, int pointerId) { return child.equals(mAudioView.getmContainer()); }
From source file:com.github.fi3te.iliasdownloader.view.fragment.viewpager.LastDownloadsFragment.java
@Override public void onClick(View v) { if (v.equals(deleteHistoryButton)) { Session.deleteDownloadHistory(); adapter.updateData(Session.getLastDownloads()); } else { // item of recyclerView int itemPosition = recyclerView.getChildLayoutPosition(v); if (itemPosition < adapter.getItemCount()) { File file = adapter.getItem(itemPosition); Util.openFile(file, getActivity()); }/*from www . ja va2 s.com*/ } }
From source file:jp.co.rediscovery.firstflight.ConfigPagerAdapter.java
@Override public boolean isViewFromObject(@NonNull final View view, @NonNull final Object object) { return view.equals(object); }
From source file:roommateapp.info.droid.BuildingPageAdapter.java
/** * // w w w . ja v a 2 s . com */ @Override public boolean isViewFromObject(View view, Object object) { return view.equals(object); }
From source file:ru.truba.touchgallery.GalleryWidget.BaseUrlPagerAdapter.java
@Override public boolean isViewFromObject(View view, Object object) { // TODO Auto-generated method stub return view.equals(object); }