Android浏览器建议适配器实现.pdfVIP

  • 1
  • 0
  • 约4.81千字
  • 约 5页
  • 2025-10-23 发布于北京
  • 举报

/*

*ZircoBrowserforAndroid

*

*Copyright(C)2010J.Devauchelleandcontributors.

*

*Thisprogramisfreesoftware;youcanredistributeitand/or

*modifyitunderthetermsoftheGNUGeneralPublicLicense

*version3aspublishedbytheFreeSoftwareFoundation.

*

*Thisprogramisdistributedinthehopethatitwillbeuseful,

*butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof

*MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.Seethe

*GNUGeneralPublicLicenseformoredetails.

*/

packageorg.zirco.model.adapters;

importorg.zirco.R;

importandroid.content.Context;

importandroid.database.Cursor;

importandroid.view.View;

importandroid.view.ViewGroup;

importandroid.widget.ImageView;

importandroid.widget.SimpleCursorAdapter;

/**

*Adapterforsuggestions.

*/

publicclassUrlSuggestionCursorAdapterextendsSimpleCursorAdapter{

publicstaticfinalStringURL_SUGGESTION_ID=_id;

publicstaticfinalStringURL_SUGGESTION_TITLE=URL_SUGGESTION_TITLE;

publicstaticfinalStringURL_SUGGESTION_URL=URL_SUGGESTION_URL;

publicstaticfinalStringURL_SUGGESTION_TYPE=URL_SUGGESTION_TYPE;

/**

*Constructor.

*@paramcontextThecontext.

*@paramlayoutThelayout.

*@paramcTheCursor.

*@paramfromInputarray.

*@paramtoOutputarray.

/**适用于Android的Zirco浏览器**(C)2010J.

Devauchelle和贡献者。**该程序是免费软件;您可以根据自由软件基金

会发布的GNU通用公共证*第3版的条款重新分发和/或*修改它。

**分发此程序的目的是希望它有用,*但不任何保证;甚至没有*适

销性或特定用途适用性的默示保证。有关详细信息,请参阅*GNU

通用公共证。*/

文档评论(0)

1亿VIP精品文档

相关文档