views-widgets-samples icon indicating copy to clipboard operation
views-widgets-samples copied to clipboard

Multiple samples showing the best practices in views-widgets on Android.

Results 105 views-widgets-samples issues
Sort by recently updated
recently updated
newest added

hello!! Sir I have problem for currentItem of ViewPager2. currently, I have connected the viewPager2 and the tabLayout through tablayoutMediator. and I attached OnTabSelectedListener to the tabLayout. also I made...

https://github.com/googlesamples/android-RecyclerView/blob/99704c04692a5bda5b24a61db7b2213534976041/Application/src/main/java/com/example/android/recyclerview/CustomAdapter.java Line 77 has an error for me: return new ViewHolder(v); Fixed it with: return new ViewHolder((TextView) )v); Just in case anyone runs into the same problem.

migrated googlesamples

I have a recyclerview which has some textview and a edittext in a single row..when i enter data in the edittext and scroll the list...the data from that edittext gets...

migrated googlesamples

Subheaders (aka section headers) in lists and grids very common and indeed part of the material design spec (http://www.google.fr/design/spec/components/subheaders.html). On the implementation side, there appear to be two primary strategies...

migrated googlesamples

just install sample project. Run on an emulator. Open Memory Monitor. Scroll up and down with several times. Memory is growing. Sometimes GC start, but cannot release more memory. Always...

migrated googlesamples

Use CostomViewHolder instead of ViewHolder for custom View Holder. https://github.com/googlesamples/android-RecyclerView/blob/master/Application/src/main/java/com/example/android/recyclerview/CustomAdapter.java#L39

migrated googlesamples

I have found a weird issue in CardView. When I try to add a programmatically created CardView to an xml inflated View, _shadow is rendered on Lollipop devices_. However if...

migrated googlesamples

I had to make the fast-scroller myself, but it's probably not the best way to do it: https://github.com/AndroidDeveloperLB/LollipopContactsRecyclerViewFastScroller It could be nice to have it customizable/extensible like the LayoutManager. Or...

migrated googlesamples