本文整理汇总了Java中com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter类的典型用法代码示例。如果您正苦于以下问题:Java AlphaInAnimationAdapter类的具体用法?Java AlphaInAnimationAdapter怎么用?Java AlphaInAnimationAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AlphaInAnimationAdapter类属于com.nhaarman.listviewanimations.appearance.simple包,在下文中一共展示了AlphaInAnimationAdapter类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setupCellGrid
import com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter; //导入依赖的package包/类
private void setupCellGrid() {
// Log.d(LOG_TAG, "Setting up cell grid");
cellList = UserPrefUtil.getInstance(getActivity()).getUserPrefCellList();
adapter = new GridAdapter(getActivity(), cellList);
SwingBottomInAnimationAdapter animAdapter = new SwingBottomInAnimationAdapter(adapter);
AlphaInAnimationAdapter animAdapterMultiple = new AlphaInAnimationAdapter(animAdapter);
animAdapterMultiple.setAbsListView(gridview);
gridview.setAdapter(animAdapterMultiple);
}
开发者ID:sahildave,项目名称:Gazetti_Newspaper_Reader,代码行数:12,代码来源:HomeScreenFragment.java
示例2: MainView
import com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter; //导入依赖的package包/类
public MainView(@NotNull final Context context, @Nullable final AttributeSet attrs, final int defStyleAttr) {
super(context, attrs, defStyleAttr);
Injector.from(context).inject(this);
mAppBus.register(this);
mAnimationAdapter = new AlphaInAnimationAdapter(mAdapter);
mAnimationAdapter.setAbsListView(mListView);
}
开发者ID:nhaarman,项目名称:PebbleNotifier,代码行数:9,代码来源:MainView.java
示例3: setAppList
import com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter; //导入依赖的package包/类
@Subscribe
public void setAppList(@NotNull final RetrievedAppListEvent event) {
Crashlytics.log("MutedAppsView.setAppList");
MutedAppAdapter adapter = new MutedAppAdapter(getContext(), event.getList());
AlphaInAnimationAdapter animationAdapter = new AlphaInAnimationAdapter(adapter);
animationAdapter.setAbsListView(mListView);
mListView.setAdapter(animationAdapter);
if (adapter.getCount() == 0) {
findViewById(R.id.view_mutedapps_nomutedappstv).setVisibility(VISIBLE);
}
}
开发者ID:nhaarman,项目名称:PebbleNotifier,代码行数:14,代码来源:MutedAppsView.java
示例4: initAnimation
import com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter; //导入依赖的package包/类
protected void initAnimation() {
List<Speaker> speakerList = new ArrayList<Speaker>();
speakerAdapter = new SpeakerAdapter(getActivity(), speakerList, shouldDisplayTalkAsTitle());
lvwSpeaker.setAdapter(speakerAdapter);
animationAdapter = new AlphaInAnimationAdapter(speakerAdapter);
animationAdapter.setAbsListView(lvwSpeaker);
lvwSpeaker.setAdapter(animationAdapter);
}
开发者ID:padc,项目名称:DevConSummit,代码行数:9,代码来源:BaseSpeakerFragment.java
示例5: initAnimation
import com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter; //导入依赖的package包/类
protected void initAnimation() {
attendeeAdapter = new AttendeeCursorAdapter(getActivity(), null, SimpleCursorAdapter.NO_SELECTION);
animationAdapter = new AlphaInAnimationAdapter(attendeeAdapter);
animationAdapter.setAbsListView(lvwAttendee);
lvwAttendee.setAdapter(animationAdapter);
}
开发者ID:padc,项目名称:DevConSummit,代码行数:7,代码来源:AttendeesFragment.java
注:本文中的com.nhaarman.listviewanimations.appearance.simple.AlphaInAnimationAdapter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论