cn.sharesdk.onekeyshare.themes.classic.FriendAdapter.Following Java Examples
The following examples show how to use
cn.sharesdk.onekeyshare.themes.classic.FriendAdapter.Following.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FriendListItem.java From LQRWeChat with MIT License | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #2
Source File: FriendListPage.java From HHComicViewer with Apache License 2.0 | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #3
Source File: FriendListItem.java From HHComicViewer with Apache License 2.0 | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #4
Source File: FriendListPage.java From fingerpoetry-android with Apache License 2.0 | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #5
Source File: FriendListItem.java From fingerpoetry-android with Apache License 2.0 | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #6
Source File: FriendListPage.java From GithubApp with Apache License 2.0 | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #7
Source File: FriendListItem.java From GithubApp with Apache License 2.0 | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #8
Source File: FriendListPage.java From BaoKanAndroid with MIT License | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #9
Source File: FriendListItem.java From BaoKanAndroid with MIT License | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #10
Source File: FriendListPage.java From LQRWeChat with MIT License | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #11
Source File: FriendListItem.java From POCenter with MIT License | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #12
Source File: FriendListPage.java From Social with Apache License 2.0 | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #13
Source File: FriendListItem.java From Social with Apache License 2.0 | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #14
Source File: FriendListPage.java From LiuAGeAndroid with MIT License | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #15
Source File: FriendListItem.java From LiuAGeAndroid with MIT License | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #16
Source File: FriendListPage.java From enjoyshop with Apache License 2.0 | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #17
Source File: FriendListItem.java From enjoyshop with Apache License 2.0 | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #18
Source File: FriendListPage.java From YiZhi with Apache License 2.0 | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }
Example #19
Source File: FriendListItem.java From YiZhi with Apache License 2.0 | 6 votes |
public void update(Following following, boolean fling) { tvName.setText(following.screenName); ivCheck.setImageBitmap(following.checked ? bmChd : bmUnch); if (aivIcon != null) { if (fling) { Bitmap bm = BitmapProcessor.getBitmapFromCache(following.icon); if (bm != null && !bm.isRecycled()) { aivIcon.setImageBitmap(bm); } else { aivIcon.execute(null, 0); } } else { aivIcon.execute(following.icon, 0); } } }
Example #20
Source File: FriendListPage.java From POCenter with MIT License | 6 votes |
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { if ("FacebookMessenger".equals(platform.getName())) { if(lastPosition >= 0) { Following lastFollwing = adapter.getItem(lastPosition); lastFollwing.checked = false; } lastPosition = position; } Following following = adapter.getItem(position); following.checked = !following.checked; if(following.checked) { checkNum++; } else { checkNum--; } updateConfirmView(); adapter.notifyDataSetChanged(); }