Messaging: Further code improvements
* Remove redundant casts * getParcelable(ArrayList|Exra) without class argument is deprecated * ViewPager.setOnPageChangeListener -> addOnPageChangeListener * RecyclerView.setOnScrollListener -> addOnScrollListener * Remove unused initializations * Remove unused code Change-Id: I21beb6c90c675a4f2cfd7e3d5ebbd18b745f5911
This commit is contained in:
@@ -77,7 +77,7 @@ public class VCardDetailFragment extends Fragment implements PersonItemDataListe
|
||||
final Bundle savedInstanceState) {
|
||||
Assert.notNull(mVCardUri);
|
||||
final View view = inflater.inflate(R.layout.vcard_detail_fragment, container, false);
|
||||
mListView = (ExpandableListView) view.findViewById(R.id.list);
|
||||
mListView = view.findViewById(R.id.list);
|
||||
mListView.addOnLayoutChangeListener((v, left, top, right, bottom, oldLeft, oldTop, oldRight,
|
||||
oldBottom) -> {
|
||||
mListView.setIndicatorBounds(mListView.getWidth() - getResources().
|
||||
|
||||
Reference in New Issue
Block a user