You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
I am using DiffViewFlowExample at https://github.com/pakerfeldt/android-viewflow/blob/master/viewflow-example/src/org/taptwo/android/widget/viewflow/example/DiffViewFlowExample.java
I am unable to set data onto the second and above view. Plainly using
tvProfileName = (TextView) findViewById(R.id.tvProfileName);
gives a null error, whereas
LayoutInflater factory = finalIndividual.this.getLayoutInflater();
View secondLayout = factory.inflate(R.layout.finalindividual_second, null);
tvProfileName = (TextView) secondLayout.findViewById(R.id.tvProfileName);
doesn't seem to set any data when setText(); is used.
The docs only gives an example for the first view and not the second. Thus, I am stuck at this.
Any idea? Thanks.
The text was updated successfully, but these errors were encountered: