<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Can't resole getValues method in OnlistItemSelectred for AssetListScreenLet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113167779" />
  <subtitle>Can't resole getValues method in OnlistItemSelectred for AssetListScreenLet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113167779</id>
  <updated>2026-04-05T14:24:11Z</updated>
  <dc:date>2026-04-05T14:24:11Z</dc:date>
  <entry>
    <title>RE: Can't resole getValues method in OnlistItemSelectred for AssetListScree</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113173934" />
    <author>
      <name>Christopher Darkins</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113173934</id>
    <updated>2019-04-12T00:08:21Z</updated>
    <published>2019-04-12T00:08:21Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;blockquote&gt;Javier GamarraShould be&amp;nbsp;&lt;br&gt;​​​​​​​&lt;br&gt;&lt;pre&gt;&lt;code&gt;implements BaseListListener&amp;lt;assetentry&amp;gt;&amp;lt;/assetentry&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;That worked. Thanks!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Christopher Darkins</dc:creator>
    <dc:date>2019-04-12T00:08:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Can't resole getValues method in OnlistItemSelectred for AssetListScree</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113167845" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113167845</id>
    <updated>2019-04-11T17:39:35Z</updated>
    <published>2019-04-11T17:39:35Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Should be&amp;nbsp;&lt;br&gt;​​​​​​​&lt;pre&gt;&lt;code&gt;implements BaseListListener&amp;lt;assetentry&amp;gt;&amp;lt;/assetentry&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2019-04-11T17:39:35Z</dc:date>
  </entry>
  <entry>
    <title>Can't resole getValues method in OnlistItemSelectred for AssetListScreenLet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113167778" />
    <author>
      <name>Christopher Darkins</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113167778</id>
    <updated>2019-04-11T17:29:02Z</updated>
    <published>2019-04-11T17:29:02Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;pre&gt;&lt;code&gt;[color=#000000][font="Courier New"][size=9pt][b][color=#000080]I am new to Liferay Screens and mobile development. In my code the [/color][/b]getValues method in OnlistItemSelectred for AssetListScreenLet wont resolve. Am I doing this properly in this method?[b][color=#000080]


package [/color][/b]io.yahlife.yahlifenation;

[b][color=#000080]import [/color][/b]android.content.Intent;
[b][color=#000080]import [/color][/b]android.support.v7.app.AppCompatActivity;
[b][color=#000080]import [/color][/b]android.os.Bundle;
[b][color=#000080]import [/color][/b]android.view.View;

[b][color=#000080]import [/color][/b]com.liferay.mobile.android.callback.typed.LongCallback;
[b][color=#000080]import [/color][/b]com.liferay.mobile.screens.asset.AssetEntry;
[b][color=#000080]import [/color][/b]com.liferay.mobile.screens.asset.list.AssetListScreenlet;
[b][color=#000080]import [/color][/b]com.liferay.mobile.screens.base.list.BaseListListener;
[b][color=#000080]import [/color][/b]com.liferay.mobile.screens.viewsets.defaultviews.DefaultAnimation;
[b][color=#000080]import [/color][/b]java.lang.*;
[b][color=#000080]import [/color][/b]java.util.List;

[b][color=#000080]public class [/color][/b]Resolutions2 [b][color=#000080]extends [/color][/b]AppCompatActivity [b][color=#000080]implements [/color][/b]BaseListListener{

    [color=#808000]@Override
[/color][color=#808000]    [/color][b][color=#000080]protected void [/color][/b]onCreate(Bundle savedInstanceState) {
        [b][color=#000080]super[/color][/b].onCreate( savedInstanceState );
        setContentView( R.layout.[b][color=#660e7a][i]activity_resolutions2 [/i][/color][/b]);

        AssetListScreenlet assetListScreenlet = findViewById( R.id.[b][color=#660e7a][i]resolutions_list [/i][/color][/b]);

        assetListScreenlet.setPortletItemName( [b][color=#008000]"Yahlife Resolutions" [/color][/b]);
        assetListScreenlet.setListener( (BaseListListener) [b][color=#000080]this [/color][/b]);


    }

    [color=#808000]@Override
[/color][color=#808000]    [/color][b][color=#000080]public void [/color][/b]onListPageFailed([b][color=#000080]int [/color][/b]i, Exception e) {

    }

    [color=#808000]@Override
[/color][color=#808000]    [/color][b][color=#000080]public void [/color][/b]onListPageReceived([b][color=#000080]int [/color][/b]i, [b][color=#000080]int [/color][/b]i1, List list, [b][color=#000080]int [/color][/b]i2) {

    }

    [color=#808000]@Override
[/color][color=#808000]    [/color][b][color=#000080]public void [/color][/b]onListItemSelected(Object o, View view) {
    Intent intent = [b][color=#000080]new [/color][/b]Intent(Resolutions2.[b][color=#000080]this[/color][/b], AssetDisplayActivity.[b][color=#000080]class[/color][/b]);
    intent.putExtra( [b][color=#008000]"entryId"[/color][/b], Long.valueOf(o.[color=#ff0000]getValues()[/color].get([b][color=#008000]"entryId"[/color][/b]).toString()) );
        DefaultAnimation.[i]startActivityWithAnimation[/i]( [b][color=#000080]this[/color][/b], intent );
    }

    [color=#808000]@Override
[/color][color=#808000]    [/color][b][color=#000080]public void [/color][/b]error(Exception e, String userAction) {

    }
}
[/size][/font][/color]&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Christopher Darkins</dc:creator>
    <dc:date>2019-04-11T17:29:02Z</dc:date>
  </entry>
</feed>
