custom-lists

Auto Number Column in SharePoint List with Link to Item

谁说我不能喝 提交于 2019-12-08 02:53:37
问题 There was a similar question posted regarding the same topic, but I'm adding to the question and the previous discussion was resolved. Here is the link to the original question: Auto number column in SharePoint list I'm now trying to find out if in a Custom List in MOSS SharePoint 2007 there is a column called "ID(link to item)". I know that when creating an Issues List in SharePoint, there exists an "Issue ID (link to item)" field that is by by default included in the view, however, I cannot

Android list items are changing when scrolling

笑着哭i 提交于 2019-12-04 21:02:07
I have a list that should have each item the same layout except for the first and last item which should have separate layouts. The first item shows its unique layout correctly, but the last one changes when I scroll it in and out of view between the correct one and the layout of the first item. Here is my adapter: public class ListAdapterApp extends ArrayAdapter<App> { Context context; int layoutResourceId; List<App> appList; public ListAdapterApp(Context context, int layoutResourceId, List<App> appList) { super(context, layoutResourceId, appList); this.layoutResourceId = layoutResourceId;

Trying to pivot data using linq [duplicate]

我的梦境 提交于 2019-12-04 13:55:56
问题 This question already has answers here : Is it possible to Pivot data using LINQ? (6 answers) Closed 6 years ago . I have the following class structure: public class TaskLog { public DateTime LogDate { get; set; } public string Robot { get; set; } public string Task { get; set; } public Enums.ProbeDataState State { get; set; } public TaskLog() { } } I created a generic list as follows: List<TaskLog> Logs; My output: Robot Date State --------------------------------------------- aaa 8/5/2013

Trying to pivot data using linq [duplicate]

雨燕双飞 提交于 2019-12-03 08:55:30
This question already has an answer here: Is it possible to Pivot data using LINQ? 6 answers I have the following class structure: public class TaskLog { public DateTime LogDate { get; set; } public string Robot { get; set; } public string Task { get; set; } public Enums.ProbeDataState State { get; set; } public TaskLog() { } } I created a generic list as follows: List<TaskLog> Logs; My output: Robot Date State --------------------------------------------- aaa 8/5/2013 12:00:00 AM Task:1=fileDeltaFailed aaa 8/5/2013 12:00:00 AM Task:2=fileDeltaFailed aaa 8/5/2013 12:00:00 AM Task:4

Getting radio button value from custom list in android

拟墨画扇 提交于 2019-12-02 04:36:33
I have a custom listview and a radio button in each row, it works properly but i want to reach id of selected radio button from this code. For example when i need the textview1 value of selected row, how can i gather it? Thanks in advance. Here is my code: private static class Adapter extends BaseAdapter { private LayoutInflater mInflater; private int mResourceId = 0; private RadioButton mSelectedRB; private int mSelectedPosition = -1; public CitizenAdapter(Context context) { mInflater = LayoutInflater.from(context); } public int getCount() { return array.size(); } public Object getItem(int

Custom List with lazy loading

狂风中的少年 提交于 2019-12-01 13:15:12
I have successfully implemented like this for lazy loading in custom list and the code I used for this is here: Custom List With Images in Blackberry In the linked question, I position the y coordinate of heart icon and I resolved the problemm of linked Question. if (logoThumbnailImage != null && logoThumbnailImage.length > index && logoThumbnailImage[index] != null) { EncodedImage img = logoThumbnailImage[index]; graphics.drawImage(0, y + 10, Display.getWidth(), Display.getHeight() - 100, img, 0, 0, 0); graphics.drawImage(300, y+400, heart.getWidth(), heart.getHeight(), heart, 0, 0, 0); Now I

Custom List with lazy loading

眉间皱痕 提交于 2019-12-01 11:15:12
问题 I have successfully implemented like this for lazy loading in custom list and the code I used for this is here:Custom List With Images in Blackberry In the linked question, I position the y coordinate of heart icon and I resolved the problemm of linked Question. if (logoThumbnailImage != null && logoThumbnailImage.length > index && logoThumbnailImage[index] != null) { EncodedImage img = logoThumbnailImage[index]; graphics.drawImage(0, y + 10, Display.getWidth(), Display.getHeight() - 100, img

ListView updated from EditText

风格不统一 提交于 2019-11-28 10:35:55
I have a Custom Listview that it is updated from a EditText component in a dialog. I have the custom row, the adapter class and the custom dialog all working but I can't seem to trigger the code in the adatper class that would add the text from the edit text control to the list. Here is my activity code, let me know if you want the adapter code. It worked before I added the custom row and adapter to the list :( Symptom of problem: emailAdapter.notifyDataSetChanged(); does nothing public class InvitePlayers_Activity extends Activity { ListViewAdapter emailAdapter = null; ImageView imgView_mail;

ListView updated from EditText

放肆的年华 提交于 2019-11-27 03:41:34
问题 I have a Custom Listview that it is updated from a EditText component in a dialog. I have the custom row, the adapter class and the custom dialog all working but I can't seem to trigger the code in the adatper class that would add the text from the edit text control to the list. Here is my activity code, let me know if you want the adapter code. It worked before I added the custom row and adapter to the list :( Symptom of problem: emailAdapter.notifyDataSetChanged(); does nothing public class