mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-16 10:48:46 +00:00
Renamed xml file for list entry
This commit is contained in:
parent
4623718e3a
commit
e1c670fed0
@ -33,14 +33,13 @@
|
||||
android:name=".SearchResults"
|
||||
android:label=""
|
||||
android:theme="@style/AppTheme.NoActionBar">
|
||||
|
||||
</activity>
|
||||
|
||||
<activity android:name="com.example.listify.SplashActivity" />
|
||||
<activity android:name="com.example.listify.ui.SignupPage" />
|
||||
<activity android:name="com.example.listify.ui.LoginPage" />
|
||||
<activity android:name="com.example.listify.ui.ForgotPasswordPage" />
|
||||
<activity android:name="com.example.listify.ListPage" />
|
||||
<activity android:name="com.example.listify.SplashActivity" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@ -123,7 +123,7 @@ public class ListPage extends AppCompatActivity {
|
||||
ArrayList<Integer> pImages;
|
||||
|
||||
MyAdapter (Context c, ArrayList<String> names, ArrayList<String> stores, ArrayList<String> prices, ArrayList<String> quantity, ArrayList<Integer> images) {
|
||||
super(c, R.layout.listproduct, R.id.productView, names);
|
||||
super(c, R.layout.activity_listproductentry, R.id.productView, names);
|
||||
context = c;
|
||||
pNames = names;
|
||||
pStores = stores;
|
||||
@ -136,7 +136,7 @@ public class ListPage extends AppCompatActivity {
|
||||
@Override
|
||||
public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {
|
||||
LayoutInflater layoutInflater = (LayoutInflater) getApplicationContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
View listproduct = layoutInflater.inflate(R.layout.listproduct, parent,false);
|
||||
View listproduct = layoutInflater.inflate(R.layout.activity_listproductentry, parent,false);
|
||||
|
||||
decrQuan = (Button) listproduct.findViewById(R.id.buttonDecr);
|
||||
incrQuan = (Button) listproduct.findViewById(R.id.buttonIncr);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user