Điểm qua wasabeef/recyclerview-animators: 11.5k sao trên GitHub, viết chủ yếu bằng Kotlin, thuộc nhóm Mobile. An Android Animation library which easily add itemanimator to RecyclerView items.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
val recyclerView = findViewById<RecyclerView>(R.id.list)
recyclerView.itemAnimator = SlideInLeftAnimator()
val recyclerView = findViewById<RecyclerView>(R.id.list)
recyclerView.itemAnimator = SlideInUpAnimator(OvershootInterpolator(1f))
Step 2
Please use the following notifyItemChanged(int) notifyItemInserted(int) notifyItemRemoved(int) notifyItemRangeChanged(int, int) notifyItemRangeInserted(int, int) notifyItemRangeRemoved(int, int)
If you want your animations to work, do not rely on calling notifyDataSetChanged();
as it is the RecyclerView's default behavior, animations are not triggered to start inside this method.
fun remove(position: Int) {
dataSet.removeAt(position)
notifyItemRemoved(position)
}
fun add(text: String, position: Int) {
dataSet.add(position, text)
notifyItemInserted(position)
}
Copyright 2020 Daichi Furiya / Wasabeef
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
wasabeef/recyclerview-animators thuộc nhóm Mobile trên TopGit, cùng 6 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về wasabeef/recyclerview-animators ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/wasabeef/recyclerview-animators là nguồn chính thức.
Vì sao wasabeef/recyclerview-animators được xếp vào nhóm Mobile?
TopGit xếp wasabeef/recyclerview-animators vào nhóm Mobile dựa trên GitHub topics và mô tả của repo (gắn thẻ: "android", "android-library", "animation"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
wasabeef/recyclerview-animators có phải mã nguồn mở không?
Có — wasabeef/recyclerview-animators phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/wasabeef/recyclerview-animators.
wasabeef/recyclerview-animators có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho wasabeef/recyclerview-animators. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
wasabeef/recyclerview-animators dùng license gì?
wasabeef/recyclerview-animators phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
wasabeef/recyclerview-animators là gì?
wasabeef/recyclerview-animators (wasabeef/recyclerview-animators) là dự án Kotlin trên GitHub. Theo mô tả gốc: An Android Animation library which easily add itemanimator to RecyclerView items.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về recyclerview-animators?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về recyclerview-animators.